#AB5BC0#AB5BC0
#AB5BC0 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.5% C 0.167 H 319.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AB5BC0 |
|---|---|
| RGB | rgb(171, 91, 192) |
| HSL | hsl(288, 44%, 55%) |
| HSV | hsv(288, 53%, 75%) |
| CMYK | cmyk(10.9%, 52.6%, 0%, 24.7%) |
| CIE-LAB | lab(51.78, 48.47, -39.60) |
| CIE-LCH | lch(51.78, 62.59, 320.75°) |
| OKLab | oklab(60.46% 0.1263 -0.11) |
| OKLCH | oklch(60.46% 0.167 319) |
| XYZ | xyz(30.0489, 19.9470, 52.1263) |
| Luminance | 0.1995 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.41
Mediumorchid
#BA55D3
ΔE00 3.68
Pinky Purple
#C94CBE
ΔE00 5.90
Soft Purple
#A66FB5
ΔE00 6.16
Deep Lavender
#8D5EB7
ΔE00 6.19
Deep Lilac
#966EBD
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB5BC0 #70C05B
analogous
#795BC0 #AB5BC0 #C05BA2
triadic
#AB5BC0 #C0AB5B #5BC0AB
tetradic
#AB5BC0 #C0795B #70C05B #5BA2C0
square
#AB5BC0 #C0795B #70C05B #5BA2C0
split-complementary
#AB5BC0 #A2C05B #5BC079
monochromatic
#652D74 #8C3EA0 #AB5BC0 #C287D1 #D8B3E2
Accessibility & contrast
On white
4.21
#AB5BC0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#AB5BC0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB5BC0
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB5BC0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB5BC0 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4876C3
Deuteranopia (green-blind)
#617EBD
Tritanopia (blue-blind)
#AB6A85
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #ab5bc0; /* rgb */ color: rgb(171, 91, 192); /* oklch */ color: oklch(60.5% 0.167 319.0);
Tailwind
colors: {
custom: {
50: '#c68cd3',
500: '#ab5bc0',
950: '#000000',
},
}SCSS
$custom: #ab5bc0; $custom-light: #c68cd3; $custom-dark: #000000;
JSON
{
"hex": "#ab5bc0",
"rgb": {
"r": 171,
"g": 91,
"b": 192
},
"hsl": {
"h": 287.525,
"s": 44.493,
"l": 55.49
},
"oklch": {
"l": 0.60456,
"c": 0.16745,
"h": 319
},
"luminance": 0.19946
}Semantic roles & 50–950 ramp
primary
#AB5BC0
secondary
#AFD0A6
accent
#D4546E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83