#AB6ABB#AB6ABB
#AB6ABB is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.5% C 0.137 H 319.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6ABB |
|---|---|
| RGB | rgb(171, 106, 187) |
| HSL | hsl(288, 37%, 57%) |
| HSV | hsv(288, 43%, 73%) |
| CMYK | cmyk(8.6%, 43.3%, 0%, 26.7%) |
| CIE-LAB | lab(54.61, 39.51, -32.28) |
| CIE-LCH | lch(54.61, 51.02, 320.75°) |
| OKLab | oklab(62.48% 0.1042 -0.0889) |
| OKLCH | oklch(62.48% 0.137 319.5) |
| XYZ | xyz(30.9171, 22.5549, 49.7290) |
| Luminance | 0.2255 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.16
Deep Lilac
#966EBD
ΔE00 5.10
Dark Lilac
#9C6DA5
ΔE00 5.27
Amethyst
#9B5FC0
ΔE00 5.47
Wisteria
#A87DC2
ΔE00 5.64
Mediumorchid
#BA55D3
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6ABB #7ABB6A
analogous
#826ABB #AB6ABB #BB6AA3
triadic
#AB6ABB #BBAB6A #6ABBAB
tetradic
#AB6ABB #BB826A #7ABB6A #6AA3BB
square
#AB6ABB #BB826A #7ABB6A #6AA3BB
split-complementary
#AB6ABB #A3BB6A #6ABB82
monochromatic
#693575 #8E499F #AB6ABB #C394CE #DABEE1
Accessibility & contrast
On white
3.81
#AB6ABB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#AB6ABB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6ABB
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6ABB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6ABB | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#6F85B9
Tritanopia (blue-blind)
#AC748A
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #ab6abb; /* rgb */ color: rgb(171, 106, 187); /* oklch */ color: oklch(62.5% 0.137 319.5);
Tailwind
colors: {
custom: {
50: '#c596cf',
500: '#ab6abb',
950: '#000000',
},
}SCSS
$custom: #ab6abb; $custom-light: #c596cf; $custom-dark: #000000;
JSON
{
"hex": "#ab6abb",
"rgb": {
"r": 171,
"g": 106,
"b": 187
},
"hsl": {
"h": 288.148,
"s": 37.327,
"l": 57.451
},
"oklch": {
"l": 0.62483,
"c": 0.13696,
"h": 319.5
},
"luminance": 0.22554
}Semantic roles & 50–950 ramp
primary
#AB6ABB
secondary
#B7D1B0
accent
#CD5B71
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130D14
muted
#827E82