#AB4FD2#AB4FD2
#AB4FD2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 59.9% C 0.204 H 314.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4FD2 |
|---|---|
| RGB | rgb(171, 79, 210) |
| HSL | hsl(282, 59%, 57%) |
| HSV | hsv(282, 62%, 82%) |
| CMYK | cmyk(18.6%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(50.57, 58.03, -51.84) |
| CIE-LCH | lch(50.57, 77.82, 318.22°) |
| OKLab | oklab(59.89% 0.1425 -0.1456) |
| OKLCH | oklch(59.89% 0.204 314.4) |
| XYZ | xyz(31.2215, 18.9040, 62.9645) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.58
Mediumorchid
#BA55D3
ΔE00 3.61
Amethyst
#9B5FC0
ΔE00 4.84
Lighter Purple
#A55AF4
ΔE00 6.09
Deep Lavender
#8D5EB7
ΔE00 7.06
Hot Purple
#CB00F5
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4FD2 #76D24F
analogous
#6A4FD2 #AB4FD2 #D24FB8
triadic
#AB4FD2 #D2AB4F #4FD2AB
tetradic
#AB4FD2 #D26A4F #76D24F #4FB8D2
square
#AB4FD2 #D26A4F #76D24F #4FB8D2
split-complementary
#AB4FD2 #B8D24F #4FD26A
monochromatic
#672285 #8D2EB5 #AB4FD2 #C280DE #DAB0EB
Accessibility & contrast
On white
4.39
#AB4FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#AB4FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB4FD2
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB4FD2 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D73D6
Deuteranopia (green-blind)
#4B7BCF
Tritanopia (blue-blind)
#A86789
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ab4fd2; /* rgb */ color: rgb(171, 79, 210); /* oklch */ color: oklch(59.9% 0.204 314.4);
Tailwind
colors: {
custom: {
50: '#c786e0',
500: '#ab4fd2',
950: '#000000',
},
}SCSS
$custom: #ab4fd2; $custom-light: #c786e0; $custom-dark: #000000;
JSON
{
"hex": "#ab4fd2",
"rgb": {
"r": 171,
"g": 79,
"b": 210
},
"hsl": {
"h": 282.137,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.59894,
"c": 0.20368,
"h": 314.4
},
"luminance": 0.18903
}Semantic roles & 50–950 ramp
primary
#AB4FD2
secondary
#B4D9A4
accent
#E24574
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83