#AB4FC0#AB4FC0
#AB4FC0 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.186 H 319.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4FC0 |
|---|---|
| RGB | rgb(171, 79, 192) |
| HSL | hsl(289, 47%, 53%) |
| HSV | hsv(289, 59%, 75%) |
| CMYK | cmyk(10.9%, 58.9%, 0%, 24.7%) |
| CIE-LAB | lab(49.56, 54.40, -43.10) |
| CIE-LCH | lch(49.56, 69.40, 321.61°) |
| OKLab | oklab(58.84% 0.1422 -0.12) |
| OKLCH | oklch(58.84% 0.186 319.8) |
| XYZ | xyz(29.1038, 18.0569, 51.8113) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.32
Amethyst
#9B5FC0
ΔE00 4.57
Purpley Pink
#C83CB9
ΔE00 5.88
Purply
#983FB2
ΔE00 5.99
Pinky Purple
#C94CBE
ΔE00 6.12
Medium Purple
#9E43A2
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4FC0 #64C04F
analogous
#734FC0 #AB4FC0 #C04F9C
triadic
#AB4FC0 #C0AB4F #4FC0AB
tetradic
#AB4FC0 #C0734F #64C04F #4F9CC0
square
#AB4FC0 #C0734F #64C04F #4F9CC0
split-complementary
#AB4FC0 #9CC04F #4FC073
monochromatic
#60276D #88379A #AB4FC0 #C17CD0 #D6A9E0
Accessibility & contrast
On white
4.55
#AB4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#AB4FC0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB4FC0
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4FC0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB4FC0 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366FC4
Deuteranopia (green-blind)
#5879BD
Tritanopia (blue-blind)
#AC6180
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ab4fc0; /* rgb */ color: rgb(171, 79, 192); /* oklch */ color: oklch(58.8% 0.186 319.8);
Tailwind
colors: {
custom: {
50: '#c785d3',
500: '#ab4fc0',
950: '#000000',
},
}SCSS
$custom: #ab4fc0; $custom-light: #c785d3; $custom-dark: #000000;
JSON
{
"hex": "#ab4fc0",
"rgb": {
"r": 171,
"g": 79,
"b": 192
},
"hsl": {
"h": 288.85,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.58835,
"c": 0.18605,
"h": 319.8
},
"luminance": 0.18056
}Semantic roles & 50–950 ramp
primary
#AB4FC0
secondary
#A6CE9D
accent
#D7516A
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83