#AB4EBF#AB4EBF
#AB4EBF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.187 H 320.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4EBF |
|---|---|
| RGB | rgb(171, 78, 191) |
| HSL | hsl(289, 47%, 53%) |
| HSV | hsv(289, 59%, 75%) |
| CMYK | cmyk(10.5%, 59.2%, 0%, 25.1%) |
| CIE-LAB | lab(49.34, 54.68, -42.88) |
| CIE-LCH | lch(49.34, 69.49, 321.89°) |
| OKLab | oklab(58.65% 0.1434 -0.1194) |
| OKLCH | oklch(58.65% 0.187 320.2) |
| XYZ | xyz(28.9218, 17.8696, 51.2058) |
| Luminance | 0.1787 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.54
Amethyst
#9B5FC0
ΔE00 4.76
Purpley Pink
#C83CB9
ΔE00 5.77
Purply
#983FB2
ΔE00 5.78
Medium Purple
#9E43A2
ΔE00 5.97
Pinky Purple
#C94CBE
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4EBF #62BF4E
analogous
#734EBF #AB4EBF #BF4E9A
triadic
#AB4EBF #BFAB4E #4EBFAB
tetradic
#AB4EBF #BF734E #62BF4E #4E9ABF
square
#AB4EBF #BF734E #62BF4E #4E9ABF
split-complementary
#AB4EBF #9ABF4E #4EBF73
monochromatic
#60276C #873799 #AB4EBF #C07BCF #D6A8E0
Accessibility & contrast
On white
4.59
#AB4EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#AB4EBF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4EBF
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4EBF | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356FC3
Deuteranopia (green-blind)
#5779BC
Tritanopia (blue-blind)
#AC607F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ab4ebf; /* rgb */ color: rgb(171, 78, 191); /* oklch */ color: oklch(58.7% 0.187 320.2);
Tailwind
colors: {
custom: {
50: '#c785d3',
500: '#ab4ebf',
950: '#000000',
},
}SCSS
$custom: #ab4ebf; $custom-light: #c785d3; $custom-dark: #000000;
JSON
{
"hex": "#ab4ebf",
"rgb": {
"r": 171,
"g": 78,
"b": 191
},
"hsl": {
"h": 289.381,
"s": 46.888,
"l": 52.745
},
"oklch": {
"l": 0.58651,
"c": 0.18657,
"h": 320.2
},
"luminance": 0.17868
}Semantic roles & 50–950 ramp
primary
#AB4EBF
secondary
#A5CD9C
accent
#D75169
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83