#AB4ED2#AB4ED2
#AB4ED2 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.8% C 0.205 H 314.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4ED2 |
|---|---|
| RGB | rgb(171, 78, 210) |
| HSL | hsl(282, 59%, 56%) |
| HSV | hsv(282, 63%, 82%) |
| CMYK | cmyk(18.6%, 62.9%, 0%, 17.6%) |
| CIE-LAB | lab(50.41, 58.49, -52.11) |
| CIE-LCH | lch(50.41, 78.34, 318.30°) |
| OKLab | oklab(59.77% 0.1437 -0.1463) |
| OKLCH | oklch(59.77% 0.205 314.5) |
| XYZ | xyz(31.1499, 18.7608, 62.9406) |
| Luminance | 0.1876 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.62
Mediumorchid
#BA55D3
ΔE00 3.75
Amethyst
#9B5FC0
ΔE00 4.97
Lighter Purple
#A55AF4
ΔE00 6.18
Hot Purple
#CB00F5
ΔE00 6.97
Deep Lavender
#8D5EB7
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4ED2 #75D24E
analogous
#694ED2 #AB4ED2 #D24EB7
triadic
#AB4ED2 #D2AB4E #4ED2AB
tetradic
#AB4ED2 #D2694E #75D24E #4EB7D2
square
#AB4ED2 #D2694E #75D24E #4EB7D2
split-complementary
#AB4ED2 #B7D24E #4ED269
monochromatic
#672284 #8D2EB5 #AB4ED2 #C27FDE #D9B0EB
Accessibility & contrast
On white
4.42
#AB4ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#AB4ED2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB4ED2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4ED2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB4ED2 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A73D6
Deuteranopia (green-blind)
#4A7ACF
Tritanopia (blue-blind)
#A86689
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ab4ed2; /* rgb */ color: rgb(171, 78, 210); /* oklch */ color: oklch(59.8% 0.205 314.5);
Tailwind
colors: {
custom: {
50: '#c785e0',
500: '#ab4ed2',
950: '#000000',
},
}SCSS
$custom: #ab4ed2; $custom-light: #c785e0; $custom-dark: #000000;
JSON
{
"hex": "#ab4ed2",
"rgb": {
"r": 171,
"g": 78,
"b": 210
},
"hsl": {
"h": 282.273,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.59772,
"c": 0.20506,
"h": 314.5
},
"luminance": 0.1876
}Semantic roles & 50–950 ramp
primary
#AB4ED2
secondary
#B3D9A3
accent
#E34574
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83