#AB4CC9#AB4CC9
#AB4CC9 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 59.0% C 0.199 H 317.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4CC9 |
|---|---|
| RGB | rgb(171, 76, 201) |
| HSL | hsl(286, 54%, 54%) |
| HSV | hsv(286, 62%, 79%) |
| CMYK | cmyk(14.9%, 62.2%, 0%, 21.2%) |
| CIE-LAB | lab(49.55, 57.58, -48.32) |
| CIE-LCH | lch(49.55, 75.17, 320.00°) |
| OKLab | oklab(58.99% 0.1461 -0.1352) |
| OKLCH | oklch(58.99% 0.199 317.2) |
| XYZ | xyz(29.9201, 18.0450, 57.1540) |
| Luminance | 0.1804 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.13
Amethyst
#9B5FC0
ΔE00 4.91
Lightish Purple
#A552E6
ΔE00 5.13
Purply
#983FB2
ΔE00 6.04
Purpley Pink
#C83CB9
ΔE00 6.67
Darkorchid
#9932CC
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4CC9 #6AC94C
analogous
#6D4CC9 #AB4CC9 #C94CA9
triadic
#AB4CC9 #C9AB4C #4CC9AB
tetradic
#AB4CC9 #C96D4C #6AC94C #4CA9C9
square
#AB4CC9 #C96D4C #6AC94C #4CA9C9
split-complementary
#AB4CC9 #A9C94C #4CC96D
monochromatic
#632477 #8A32A6 #AB4CC9 #C17BD7 #D7AAE5
Accessibility & contrast
On white
4.56
#AB4CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#AB4CC9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB4CC9
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4CC9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB4CC9 | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2570CD
Deuteranopia (green-blind)
#4F79C6
Tritanopia (blue-blind)
#AA6284
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ab4cc9; /* rgb */ color: rgb(171, 76, 201); /* oklch */ color: oklch(59.0% 0.199 317.2);
Tailwind
colors: {
custom: {
50: '#c784da',
500: '#ab4cc9',
950: '#000000',
},
}SCSS
$custom: #ab4cc9; $custom-light: #c784da; $custom-dark: #000000;
JSON
{
"hex": "#ab4cc9",
"rgb": {
"r": 171,
"g": 76,
"b": 201
},
"hsl": {
"h": 285.6,
"s": 53.648,
"l": 54.314
},
"oklch": {
"l": 0.58985,
"c": 0.19908,
"h": 317.2
},
"luminance": 0.18044
}Semantic roles & 50–950 ramp
primary
#AB4CC9
secondary
#ABD39E
accent
#DD4B6E
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83