#AB5FBC#AB5FBC
#AB5FBC is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.8% C 0.157 H 320.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5FBC |
|---|---|
| RGB | rgb(171, 95, 188) |
| HSL | hsl(289, 41%, 55%) |
| HSV | hsv(289, 49%, 74%) |
| CMYK | cmyk(9%, 49.5%, 0%, 26.3%) |
| CIE-LAB | lab(52.37, 45.60, -36.36) |
| CIE-LCH | lch(52.37, 58.32, 321.43°) |
| OKLab | oklab(60.83% 0.1202 -0.1006) |
| OKLCH | oklch(60.83% 0.157 320.1) |
| XYZ | xyz(29.9628, 20.4743, 49.9408) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.85
Mediumorchid
#BA55D3
ΔE00 4.51
Soft Purple
#A66FB5
ΔE00 4.91
Pinky Purple
#C94CBE
ΔE00 5.96
Deep Lilac
#966EBD
ΔE00 6.17
Deep Lavender
#8D5EB7
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5FBC #70BC5F
analogous
#7C5FBC #AB5FBC #BC5F9E
triadic
#AB5FBC #BCAB5F #5FBCAB
tetradic
#AB5FBC #BC7C5F #70BC5F #5F9EBC
square
#AB5FBC #BC7C5F #70BC5F #5F9EBC
split-complementary
#AB5FBC #9EBC5F #5FBC7C
monochromatic
#652F71 #8C419C #AB5FBC #C28ACE #D8B5E0
Accessibility & contrast
On white
4.12
#AB5FBC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#AB5FBC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB5FBC
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5FBC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB5FBC | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#6680B9
Tritanopia (blue-blind)
#AC6C85
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #ab5fbc; /* rgb */ color: rgb(171, 95, 188); /* oklch */ color: oklch(60.8% 0.157 320.1);
Tailwind
colors: {
custom: {
50: '#c68fd0',
500: '#ab5fbc',
950: '#000000',
},
}SCSS
$custom: #ab5fbc; $custom-light: #c68fd0; $custom-dark: #000000;
JSON
{
"hex": "#ab5fbc",
"rgb": {
"r": 171,
"g": 95,
"b": 188
},
"hsl": {
"h": 289.032,
"s": 40.969,
"l": 55.49
},
"oklch": {
"l": 0.6083,
"c": 0.15677,
"h": 320.1
},
"luminance": 0.20473
}Semantic roles & 50–950 ramp
primary
#AB5FBC
secondary
#AFCFA8
accent
#D1576D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82