#AB76CB#AB76CB
#AB76CB is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.2% C 0.134 H 311.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AB76CB |
|---|---|
| RGB | rgb(171, 118, 203) |
| HSL | hsl(277, 45%, 63%) |
| HSV | hsv(277, 42%, 80%) |
| CMYK | cmyk(15.8%, 41.9%, 0%, 20.4%) |
| CIE-LAB | lab(57.97, 36.28, -36.16) |
| CIE-LCH | lch(57.97, 51.23, 315.10°) |
| OKLab | oklab(65.24% 0.0896 -0.1002) |
| OKLCH | oklch(65.24% 0.134 311.8) |
| XYZ | xyz(34.0506, 25.9272, 59.6990) |
| Luminance | 0.2593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.14
Soft Purple
#A66FB5
ΔE00 4.44
Deep Lilac
#966EBD
ΔE00 4.93
Orchid (survey)
#C875C4
ΔE00 6.90
Mediumpurple
#9370DB
ΔE00 7.11
Light Purple
#BF77F6
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB76CB #96CB76
analogous
#8076CB #AB76CB #CB76C0
triadic
#AB76CB #CBAB76 #76CBAB
tetradic
#AB76CB #CB8076 #96CB76 #76C0CB
square
#AB76CB #CB8076 #96CB76 #76C0CB
split-complementary
#AB76CB #C0CB76 #76CB80
monochromatic
#6E3790 #904ABA #AB76CB #C6A2DC #E1CFED
Accessibility & contrast
On white
3.40
#AB76CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#AB76CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB76CB
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB76CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB76CB | 1.00 | 3.40 | 6.19 | 6.19 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6589CE
Deuteranopia (green-blind)
#728CC9
Tritanopia (blue-blind)
#A88297
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ab76cb; /* rgb */ color: rgb(171, 118, 203); /* oklch */ color: oklch(65.2% 0.134 311.8);
Tailwind
colors: {
custom: {
50: '#c59edb',
500: '#ab76cb',
950: '#000000',
},
}SCSS
$custom: #ab76cb; $custom-light: #c59edb; $custom-dark: #000000;
JSON
{
"hex": "#ab76cb",
"rgb": {
"r": 171,
"g": 118,
"b": 203
},
"hsl": {
"h": 277.412,
"s": 44.974,
"l": 62.941
},
"oklch": {
"l": 0.65237,
"c": 0.13441,
"h": 311.8
},
"luminance": 0.25927
}Semantic roles & 50–950 ramp
primary
#AB76CB
secondary
#CBDEBF
accent
#B82D62
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83