#AB66CC#AB66CC
#AB66CC is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.7% C 0.162 H 313.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AB66CC |
|---|---|
| RGB | rgb(171, 102, 204) |
| HSL | hsl(281, 50%, 60%) |
| HSV | hsv(281, 50%, 80%) |
| CMYK | cmyk(16.2%, 50%, 0%, 20%) |
| CIE-LAB | lab(54.58, 45.23, -42.06) |
| CIE-LCH | lch(54.58, 61.76, 317.08°) |
| OKLab | oklab(62.72% 0.1125 -0.1172) |
| OKLCH | oklch(62.72% 0.162 313.8) |
| XYZ | xyz(32.4432, 22.5211, 59.7530) |
| Luminance | 0.2252 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.05
Mediumorchid
#BA55D3
ΔE00 4.22
Deep Lilac
#966EBD
ΔE00 5.16
Soft Purple
#A66FB5
ΔE00 5.46
Lightish Purple
#A552E6
ΔE00 6.72
Mediumpurple
#9370DB
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB66CC #87CC66
analogous
#7866CC #AB66CC #CC66BA
triadic
#AB66CC #CCAB66 #66CCAB
tetradic
#AB66CC #CC7866 #87CC66 #66BACC
square
#AB66CC #CC7866 #87CC66 #66BACC
split-complementary
#AB66CC #BACC66 #66CC78
monochromatic
#6C2E8A #903DB8 #AB66CC #C494DB #DDC2EB
Accessibility & contrast
On white
3.82
#AB66CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.50
#AB66CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB66CC
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB66CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB66CC | 1.00 | 3.82 | 5.50 | 5.50 |
| #FFFFFF | 3.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F7FCF
Deuteranopia (green-blind)
#6484C9
Tritanopia (blue-blind)
#A87690
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #ab66cc; /* rgb */ color: rgb(171, 102, 204); /* oklch */ color: oklch(62.7% 0.162 313.8);
Tailwind
colors: {
custom: {
50: '#c694dc',
500: '#ab66cc',
950: '#000000',
},
}SCSS
$custom: #ab66cc; $custom-light: #c694dc; $custom-dark: #000000;
JSON
{
"hex": "#ab66cc",
"rgb": {
"r": 171,
"g": 102,
"b": 204
},
"hsl": {
"h": 280.588,
"s": 50,
"l": 60
},
"oklch": {
"l": 0.6272,
"c": 0.16239,
"h": 313.8
},
"luminance": 0.2252
}Semantic roles & 50–950 ramp
primary
#AB66CC
secondary
#C0DBB3
accent
#DA4E7B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83