#AB66EA#AB66EA
#AB66EA is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.4% C 0.196 H 305.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB66EA |
|---|---|
| RGB | rgb(171, 102, 234) |
| HSL | hsl(271, 76%, 66%) |
| HSV | hsv(271, 56%, 92%) |
| CMYK | cmyk(26.9%, 56.4%, 0%, 8.2%) |
| CIE-LAB | lab(56.19, 51.92, -56.43) |
| CIE-LCH | lch(56.19, 76.68, 312.62°) |
| OKLab | oklab(64.43% 0.1145 -0.1591) |
| OKLCH | oklch(64.43% 0.196 305.7) |
| XYZ | xyz(36.3941, 24.1015, 80.5607) |
| Luminance | 0.2410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.08
Lighter Purple
#A55AF4
ΔE00 3.41
Lightish Purple
#A552E6
ΔE00 4.94
Bright Lavender
#C760FF
ΔE00 5.00
Easter Purple
#C071FE
ΔE00 5.14
Bright Lilac
#C95EFB
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB66EA #A5EA66
analogous
#6966EA #AB66EA #EA66E7
triadic
#AB66EA #EAAB66 #66EAAB
tetradic
#AB66EA #EA6966 #A5EA66 #66E7EA
square
#AB66EA #EA6966 #A5EA66 #66E7EA
split-complementary
#AB66EA #E7EA66 #66EA69
monochromatic
#6E1ABC #8D30E3 #AB66EA #C99CF1 #E6D2F9
Accessibility & contrast
On white
3.61
#AB66EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#AB66EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB66EA
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB66EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB66EA | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3385EE
Deuteranopia (green-blind)
#4E87E7
Tritanopia (blue-blind)
#A17F9E
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #ab66ea; /* rgb */ color: rgb(171, 102, 234); /* oklch */ color: oklch(64.4% 0.196 305.7);
Tailwind
colors: {
custom: {
50: '#c794f1',
500: '#ab66ea',
950: '#000000',
},
}SCSS
$custom: #ab66ea; $custom-light: #c794f1; $custom-dark: #000000;
JSON
{
"hex": "#ab66ea",
"rgb": {
"r": 171,
"g": 102,
"b": 234
},
"hsl": {
"h": 271.364,
"s": 75.862,
"l": 65.882
},
"oklch": {
"l": 0.64432,
"c": 0.19598,
"h": 305.7
},
"luminance": 0.24101
}Semantic roles & 50–950 ramp
primary
#AB66EA
secondary
#D5ECC0
accent
#D80D6E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85