#AF49E8#AF49E8
#AF49E8 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.1% C 0.234 H 310.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AF49E8 |
|---|---|
| RGB | rgb(175, 73, 232) |
| HSL | hsl(278, 78%, 60%) |
| HSV | hsv(278, 69%, 91%) |
| CMYK | cmyk(24.6%, 68.5%, 0%, 9%) |
| CIE-LAB | lab(51.50, 66.13, -62.80) |
| CIE-LCH | lch(51.50, 91.20, 316.48°) |
| OKLab | oklab(61.11% 0.1527 -0.1775) |
| OKLCH | oklch(61.11% 0.234 310.7) |
| XYZ | xyz(34.6244, 19.7060, 78.3080) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.01
Lighter Purple
#A55AF4
ΔE00 4.14
Neon Purple
#BC13FE
ΔE00 4.89
Mediumorchid
#BA55D3
ΔE00 5.08
Bright Purple
#BE03FD
ΔE00 5.23
Hot Purple
#CB00F5
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF49E8 #82E849
analogous
#6049E8 #AF49E8 #E849D1
triadic
#AF49E8 #E8AF49 #49E8AF
tetradic
#AF49E8 #E86049 #82E849 #49D1E8
square
#AF49E8 #E86049 #82E849 #49D1E8
split-complementary
#AF49E8 #D1E849 #49E860
monochromatic
#6F14A2 #951BD8 #AF49E8 #C77FEF #DFB6F6
Accessibility & contrast
On white
4.25
#AF49E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#AF49E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF49E8
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF49E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF49E8 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#317CE4
Tritanopia (blue-blind)
#A76B93
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #af49e8; /* rgb */ color: rgb(175, 73, 232); /* oklch */ color: oklch(61.1% 0.234 310.7);
Tailwind
colors: {
custom: {
50: '#cb83f0',
500: '#af49e8',
950: '#000000',
},
}SCSS
$custom: #af49e8; $custom-light: #cb83f0; $custom-dark: #000000;
JSON
{
"hex": "#af49e8",
"rgb": {
"r": 175,
"g": 73,
"b": 232
},
"hsl": {
"h": 278.491,
"s": 77.561,
"l": 59.804
},
"oklch": {
"l": 0.61107,
"c": 0.23417,
"h": 310.7
},
"luminance": 0.19705
}Semantic roles & 50–950 ramp
primary
#AF49E8
secondary
#BEE5A8
accent
#F43479
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140B17
muted
#837C85