Palettes / Colors / #AF4BFB
#AF4BFB — Vivid Purple
#AF4BFB is a purple color we call Vivid Purple, closest to the named color BlueViolet (#8A2BE2). It belongs to the purple family.
#AF4BFB is a cool purple color associated with luxury, creativity and mystery. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.
Its strongest partner is its complement #97FB4B; it also sits naturally between #574BFB and #FB4BF0. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #AF4BFB |
|---|---|
| RGB | 175, 75, 251 |
| HSL | 274°, 96%, 64% |
| HSV | 274°, 70%, 98% |
| CMYK | 30%, 70%, 0%, 2% |
| XYZ | 37.61, 21.11, 93.36 |
| Yxy | 21.11, 0.2473, 0.1388 |
| CIE-Lab | 53.07, 69.35, -70.92 |
| Hunter Lab | 45.95, 69.23, -94.30 |
RGB & CMYK percentages
Red 69% · Green 29% · Blue 98%
Cyan 30% · Magenta 70% · Yellow 0% · Key 2%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #AF4BFB
.text { color: #AF4BFB; }
.background { background-color: #AF4BFB; }
.border { border: 3px solid #AF4BFB; }
.text-rgb { color: rgb(175, 75, 251); }
.text-hsl { color: hsl(274, 96%, 64%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #AF4BFB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(175, 75, 251, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #AF4BFB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(175, 75, 251, 0.8); }
HTML: <p style="color:#AF4BFB">Text here</p> · <div style="background-color:#AF4BFB">Div content here</div>
Shades of #AF4BFB
Tints of #AF4BFB
Tones of #AF4BFB
Color harmonies
Complementary — #97FB4B:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 4.02:1 AA large only |
|---|---|
| Against black text | 5.22:1 AA |
Best text color on #AF4BFB: #000000.
How #AF4BFB looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
Closest design-system colors
The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:
Palettes with a similar color
These palettes use a close neighbour of #AF4BFB rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #AF4BFB?
#AF4BFB is Vivid Purple, a purple color (RGB 175, 75, 251). Its closest standard named color is BlueViolet.
What is the RGB and HSL of #AF4BFB?
#AF4BFB is RGB 175, 75, 251 — HSL 274°, 96%, 64% — CMYK 30%, 70%, 0%, 2%.
What colors go with #AF4BFB?
Its complement is #97FB4B; analogous partners are #574BFB and #FB4BF0. It also appears in 6+ palettes in our collection.
Can I use #AF4BFB for text?
Black text on #AF4BFB has a contrast ratio of 5.22:1 (passes WCAG AA); white text gives 4.02:1.