#AB66F2#AB66F2
#AB66F2 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.9% C 0.205 H 304.0°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #AB66F2 |
|---|---|
| RGB | rgb(171, 102, 242) |
| HSL | hsl(270, 84%, 67%) |
| HSV | hsv(270, 58%, 95%) |
| CMYK | cmyk(29.3%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(56.66, 53.78, -60.14) |
| CIE-LCH | lch(56.66, 80.68, 311.80°) |
| OKLab | oklab(64.92% 0.1145 -0.17) |
| OKLCH | oklch(64.92% 0.205 304) |
| XYZ | xyz(37.5694, 24.5716, 86.7507) |
| Luminance | 0.2457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.69
Lighter Purple
#A55AF4
ΔE00 3.08
Bright Lavender
#C760FF
ΔE00 4.72
Easter Purple
#C071FE
ΔE00 4.78
Bright Lilac
#C95EFB
ΔE00 5.06
Lightish Purple
#A552E6
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB66F2 #ADF266
analogous
#6667F2 #AB66F2 #F166F2
triadic
#AB66F2 #F2AB66 #66F2AB
tetradic
#AB66F2 #F26667 #ADF266 #66F2F1
square
#AB66F2 #F26667 #ADF266 #66F2F1
split-complementary
#AB66F2 #F2F166 #67F266
monochromatic
#6D11CC #8C2EED #AB66F2 #CA9EF7 #E9D7FC
Accessibility & contrast
On white
3.55
#AB66F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#AB66F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB66F2
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB66F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB66F2 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#4688EF
Tritanopia (blue-blind)
#9E82A2
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #ab66f2; /* rgb */ color: rgb(171, 102, 242); /* oklch */ color: oklch(64.9% 0.205 304.0);
Tailwind
colors: {
custom: {
50: '#c894f7',
500: '#ab66f2',
950: '#000000',
},
}SCSS
$custom: #ab66f2; $custom-light: #c894f7; $custom-dark: #000000;
JSON
{
"hex": "#ab66f2",
"rgb": {
"r": 171,
"g": 102,
"b": 242
},
"hsl": {
"h": 269.571,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.64924,
"c": 0.20496,
"h": 304
},
"luminance": 0.24571
}Semantic roles & 50–950 ramp
primary
#AB66F2
secondary
#DAF0C4
accent
#E10574
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D17
muted
#827E85