#AB49CF#AB49CF
#AB49CF is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.209 H 315.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AB49CF |
|---|---|
| RGB | rgb(171, 73, 207) |
| HSL | hsl(284, 58%, 55%) |
| HSV | hsv(284, 65%, 81%) |
| CMYK | cmyk(17.4%, 64.7%, 0%, 18.8%) |
| CIE-LAB | lab(49.41, 60.14, -51.99) |
| CIE-LCH | lch(49.41, 79.50, 319.16°) |
| OKLab | oklab(59% 0.1495 -0.1459) |
| OKLCH | oklch(59% 0.209 315.7) |
| XYZ | xyz(30.4379, 17.9291, 60.8767) |
| Luminance | 0.1793 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.39
Mediumorchid
#BA55D3
ΔE00 4.49
Amethyst
#9B5FC0
ΔE00 5.52
Purply
#983FB2
ΔE00 6.21
Darkorchid
#9932CC
ΔE00 6.28
Hot Purple
#CB00F5
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB49CF #6DCF49
analogous
#6849CF #AB49CF #CF49B0
triadic
#AB49CF #CFAB49 #49CFAB
tetradic
#AB49CF #CF6849 #6DCF49 #49B0CF
square
#AB49CF #CF6849 #6DCF49 #49B0CF
split-complementary
#AB49CF #B0CF49 #49CF68
monochromatic
#64217D #8B2EAD #AB49CF #C179DC #D8AAE9
Accessibility & contrast
On white
4.58
#AB49CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#AB49CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB49CF
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB49CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB49CF | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E70D3
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#A96286
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ab49cf; /* rgb */ color: rgb(171, 73, 207); /* oklch */ color: oklch(59.0% 0.209 315.7);
Tailwind
colors: {
custom: {
50: '#c882de',
500: '#ab49cf',
950: '#000000',
},
}SCSS
$custom: #ab49cf; $custom-light: #c882de; $custom-dark: #000000;
JSON
{
"hex": "#ab49cf",
"rgb": {
"r": 171,
"g": 73,
"b": 207
},
"hsl": {
"h": 283.881,
"s": 58.261,
"l": 54.902
},
"oklch": {
"l": 0.58996,
"c": 0.20894,
"h": 315.7
},
"luminance": 0.17928
}Semantic roles & 50–950 ramp
primary
#AB49CF
secondary
#ADD69E
accent
#E14670
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83