#AB49CE#AB49CE
#AB49CE is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 58.9% C 0.208 H 316.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AB49CE |
|---|---|
| RGB | rgb(171, 73, 206) |
| HSL | hsl(284, 58%, 55%) |
| HSV | hsv(284, 65%, 81%) |
| CMYK | cmyk(17%, 64.6%, 0%, 19.2%) |
| CIE-LAB | lab(49.35, 59.94, -51.51) |
| CIE-LCH | lch(49.35, 79.03, 319.33°) |
| OKLab | oklab(58.93% 0.1495 -0.1445) |
| OKLCH | oklch(58.93% 0.208 316) |
| XYZ | xyz(30.3160, 17.8804, 60.2349) |
| Luminance | 0.1788 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.50
Lightish Purple
#A552E6
ΔE00 4.54
Amethyst
#9B5FC0
ΔE00 5.48
Purply
#983FB2
ΔE00 6.11
Darkorchid
#9932CC
ΔE00 6.28
Hot Purple
#CB00F5
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB49CE #6CCE49
analogous
#6949CE #AB49CE #CE49AE
triadic
#AB49CE #CEAB49 #49CEAB
tetradic
#AB49CE #CE6949 #6CCE49 #49AECE
square
#AB49CE #CE6949 #6CCE49 #49AECE
split-complementary
#AB49CE #AECE49 #49CE69
monochromatic
#64217B #8B2EAC #AB49CE #C179DB #D8A9E8
Accessibility & contrast
On white
4.59
#AB49CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#AB49CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AB49CE
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB49CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB49CE | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#116FD2
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#A96285
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ab49ce; /* rgb */ color: rgb(171, 73, 206); /* oklch */ color: oklch(58.9% 0.208 316.0);
Tailwind
colors: {
custom: {
50: '#c782de',
500: '#ab49ce',
950: '#000000',
},
}SCSS
$custom: #ab49ce; $custom-light: #c782de; $custom-dark: #000000;
JSON
{
"hex": "#ab49ce",
"rgb": {
"r": 171,
"g": 73,
"b": 206
},
"hsl": {
"h": 284.211,
"s": 57.576,
"l": 54.706
},
"oklch": {
"l": 0.58934,
"c": 0.20798,
"h": 316
},
"luminance": 0.17879
}Semantic roles & 50–950 ramp
primary
#AB49CE
secondary
#ACD59D
accent
#E1476F
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83