#AB7DCE#AB7DCE
#AB7DCE is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.6% C 0.126 H 309.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7DCE |
|---|---|
| RGB | rgb(171, 125, 206) |
| HSL | hsl(274, 45%, 65%) |
| HSV | hsv(274, 39%, 81%) |
| CMYK | cmyk(17%, 39.3%, 0%, 19.2%) |
| CIE-LAB | lab(59.69, 33.04, -35.17) |
| CIE-LCH | lch(59.69, 48.25, 313.21°) |
| OKLab | oklab(66.58% 0.08 -0.0974) |
| OKLCH | oklch(66.58% 0.126 309.4) |
| XYZ | xyz(35.2667, 27.7818, 61.8851) |
| Luminance | 0.2778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.45
Pale Purple
#B790D4
ΔE00 5.68
Soft Purple
#A66FB5
ΔE00 5.75
Deep Lilac
#966EBD
ΔE00 6.01
Light Purple
#BF77F6
ΔE00 7.11
Orchid (survey)
#C875C4
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7DCE #A0CE7D
analogous
#837DCE #AB7DCE #CE7DC8
triadic
#AB7DCE #CEAB7D #7DCEAB
tetradic
#AB7DCE #CE837D #A0CE7D #7DC8CE
square
#AB7DCE #CE837D #A0CE7D #7DC8CE
split-complementary
#AB7DCE #C8CE7D #7DCE83
monochromatic
#6F3997 #8E51BD #AB7DCE #C8A9DF #E4D6F0
Accessibility & contrast
On white
3.20
#AB7DCE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#AB7DCE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7DCE
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7DCE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7DCE | 1.00 | 3.20 | 6.56 | 6.56 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C8ED1
Deuteranopia (green-blind)
#7791CC
Tritanopia (blue-blind)
#A7899C
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ab7dce; /* rgb */ color: rgb(171, 125, 206); /* oklch */ color: oklch(66.6% 0.126 309.4);
Tailwind
colors: {
custom: {
50: '#c5a3dd',
500: '#ab7dce',
950: '#000000',
},
}SCSS
$custom: #ab7dce; $custom-light: #c5a3dd; $custom-dark: #000000;
JSON
{
"hex": "#ab7dce",
"rgb": {
"r": 171,
"g": 125,
"b": 206
},
"hsl": {
"h": 274.074,
"s": 45.251,
"l": 64.902
},
"oklch": {
"l": 0.6658,
"c": 0.12603,
"h": 309.4
},
"luminance": 0.27781
}Semantic roles & 50–950 ramp
primary
#AB7DCE
secondary
#D2E1C6
accent
#B82D69
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83