#AB66EB#AB66EB
#AB66EB is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.5% C 0.197 H 305.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AB66EB |
|---|---|
| RGB | rgb(171, 102, 235) |
| HSL | hsl(271, 77%, 66%) |
| HSV | hsv(271, 57%, 92%) |
| CMYK | cmyk(27.2%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(56.25, 52.15, -56.89) |
| CIE-LCH | lch(56.25, 77.18, 312.51°) |
| OKLab | oklab(64.49% 0.1145 -0.1604) |
| OKLCH | oklch(64.49% 0.197 305.5) |
| XYZ | xyz(36.5381, 24.1591, 81.3194) |
| Luminance | 0.2416 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.00
Lighter Purple
#A55AF4
ΔE00 3.34
Bright Lavender
#C760FF
ΔE00 4.95
Lightish Purple
#A552E6
ΔE00 4.96
Easter Purple
#C071FE
ΔE00 5.08
Bright Lilac
#C95EFB
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB66EB #A6EB66
analogous
#6866EB #AB66EB #EB66E8
triadic
#AB66EB #EBAB66 #66EBAB
tetradic
#AB66EB #EB6866 #A6EB66 #66E8EB
square
#AB66EB #EB6866 #A6EB66 #66E8EB
split-complementary
#AB66EB #E8EB66 #66EB68
monochromatic
#6E19BE #8D30E4 #AB66EB #C99CF2 #E6D2F9
Accessibility & contrast
On white
3.60
#AB66EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#AB66EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB66EB
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB66EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB66EB | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#4D87E8
Tritanopia (blue-blind)
#A0809F
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #ab66eb; /* rgb */ color: rgb(171, 102, 235); /* oklch */ color: oklch(64.5% 0.197 305.5);
Tailwind
colors: {
custom: {
50: '#c794f2',
500: '#ab66eb',
950: '#000000',
},
}SCSS
$custom: #ab66eb; $custom-light: #c794f2; $custom-dark: #000000;
JSON
{
"hex": "#ab66eb",
"rgb": {
"r": 171,
"g": 102,
"b": 235
},
"hsl": {
"h": 271.128,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.64493,
"c": 0.1971,
"h": 305.5
},
"luminance": 0.24159
}Semantic roles & 50–950 ramp
primary
#AB66EB
secondary
#D6ECC1
accent
#D90C6F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130D17
muted
#827E85