#AF66E5#AF66E5
#AF66E5 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.6% C 0.192 H 308.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #AF66E5 |
|---|---|
| RGB | rgb(175, 102, 229) |
| HSL | hsl(274, 71%, 65%) |
| HSV | hsv(274, 55%, 90%) |
| CMYK | cmyk(23.6%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(56.36, 51.76, -53.33) |
| CIE-LCH | lch(56.36, 74.32, 314.15°) |
| OKLab | oklab(64.57% 0.1193 -0.1499) |
| OKLCH | oklch(64.57% 0.192 308.5) |
| XYZ | xyz(36.5706, 24.2744, 76.8724) |
| Luminance | 0.2427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.37
Lighter Purple
#A55AF4
ΔE00 4.29
Bright Lilac
#C95EFB
ΔE00 4.78
Bright Lavender
#C760FF
ΔE00 4.79
Easter Purple
#C071FE
ΔE00 5.08
Mediumorchid
#BA55D3
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF66E5 #9CE566
analogous
#6F66E5 #AF66E5 #E566DC
triadic
#AF66E5 #E5AF66 #66E5AF
tetradic
#AF66E5 #E56F66 #9CE566 #66DCE5
square
#AF66E5 #E56F66 #9CE566 #66DCE5
split-complementary
#AF66E5 #DCE566 #66E56F
monochromatic
#731EB2 #9432DC #AF66E5 #CA9AEE #E6CFF7
Accessibility & contrast
On white
3.59
#AF66E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#AF66E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF66E5
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF66E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF66E5 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C84E9
Deuteranopia (green-blind)
#5688E2
Tritanopia (blue-blind)
#A77D9C
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #af66e5; /* rgb */ color: rgb(175, 102, 229); /* oklch */ color: oklch(64.6% 0.192 308.5);
Tailwind
colors: {
custom: {
50: '#ca94ee',
500: '#af66e5',
950: '#000000',
},
}SCSS
$custom: #af66e5; $custom-light: #ca94ee; $custom-dark: #000000;
JSON
{
"hex": "#af66e5",
"rgb": {
"r": 175,
"g": 102,
"b": 229
},
"hsl": {
"h": 274.488,
"s": 70.95,
"l": 64.902
},
"oklch": {
"l": 0.64568,
"c": 0.19155,
"h": 308.5
},
"luminance": 0.24274
}Semantic roles & 50–950 ramp
primary
#AF66E5
secondary
#D0E9BE
accent
#D31364
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84