#AB62BB#AB62BB
#AB62BB is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.2% C 0.151 H 320.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AB62BB |
|---|---|
| RGB | rgb(171, 98, 187) |
| HSL | hsl(289, 40%, 56%) |
| HSV | hsv(289, 48%, 73%) |
| CMYK | cmyk(8.6%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(52.93, 43.81, -34.90) |
| CIE-LCH | lch(52.93, 56.02, 321.46°) |
| OKLab | oklab(61.23% 0.1158 -0.0964) |
| OKLCH | oklch(61.23% 0.151 320.2) |
| XYZ | xyz(30.1308, 20.9823, 49.4669) |
| Luminance | 0.2098 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 4.09
Amethyst
#9B5FC0
ΔE00 4.21
Mediumorchid
#BA55D3
ΔE00 5.03
Deep Lilac
#966EBD
ΔE00 5.81
Pinky Purple
#C94CBE
ΔE00 6.26
Dark Lilac
#9C6DA5
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB62BB #72BB62
analogous
#7E62BB #AB62BB #BB629F
triadic
#AB62BB #BBAB62 #62BBAB
tetradic
#AB62BB #BB7E62 #72BB62 #629FBB
square
#AB62BB #BB7E62 #72BB62 #629FBB
split-complementary
#AB62BB #9FBB62 #62BB7E
monochromatic
#663171 #8C449C #AB62BB #C28DCD #D9B7E0
Accessibility & contrast
On white
4.04
#AB62BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#AB62BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB62BB
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB62BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB62BB | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#6981B8
Tritanopia (blue-blind)
#AC6E86
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #ab62bb; /* rgb */ color: rgb(171, 98, 187); /* oklch */ color: oklch(61.2% 0.151 320.2);
Tailwind
colors: {
custom: {
50: '#c691d0',
500: '#ab62bb',
950: '#000000',
},
}SCSS
$custom: #ab62bb; $custom-light: #c691d0; $custom-dark: #000000;
JSON
{
"hex": "#ab62bb",
"rgb": {
"r": 171,
"g": 98,
"b": 187
},
"hsl": {
"h": 289.213,
"s": 39.556,
"l": 55.882
},
"oklch": {
"l": 0.6123,
"c": 0.1507,
"h": 320.2
},
"luminance": 0.20981
}Semantic roles & 50–950 ramp
primary
#AB62BB
secondary
#B1CFAA
accent
#CF586E
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82