#AB7BDC#AB7BDC
#AB7BDC is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.9% C 0.147 H 305.6°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7BDC |
|---|---|
| RGB | rgb(171, 123, 220) |
| HSL | hsl(270, 58%, 67%) |
| HSV | hsv(270, 44%, 86%) |
| CMYK | cmyk(22.3%, 44.1%, 0%, 13.7%) |
| CIE-LAB | lab(59.88, 37.33, -42.73) |
| CIE-LCH | lch(59.88, 56.74, 311.14°) |
| OKLab | oklab(66.93% 0.0854 -0.1192) |
| OKLCH | oklch(66.93% 0.147 305.6) |
| XYZ | xyz(36.7932, 27.9914, 71.1608) |
| Luminance | 0.2799 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.91
Light Urple
#B36FF6
ΔE00 5.16
Wisteria
#A87DC2
ΔE00 5.30
Mediumpurple
#9370DB
ΔE00 5.81
Easter Purple
#C071FE
ΔE00 6.17
Deep Lilac
#966EBD
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7BDC #ACDC7B
analogous
#7B7BDC #AB7BDC #DC7BDC
triadic
#AB7BDC #DCAB7B #7BDCAB
tetradic
#AB7BDC #DC7B7B #ACDC7B #7BDCDC
square
#AB7BDC #DC7B7B #ACDC7B #7BDCDC
split-complementary
#AB7BDC #DCDC7B #7BDC7B
monochromatic
#6E2EAE #8C4BCF #AB7BDC #CAABE9 #E9DCF6
Accessibility & contrast
On white
3.18
#AB7BDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#AB7BDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7BDC
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7BDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7BDC | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#638FE0
Deuteranopia (green-blind)
#6E91D9
Tritanopia (blue-blind)
#A38BA1
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ab7bdc; /* rgb */ color: rgb(171, 123, 220); /* oklch */ color: oklch(66.9% 0.147 305.6);
Tailwind
colors: {
custom: {
50: '#c6a2e7',
500: '#ab7bdc',
950: '#000000',
},
}SCSS
$custom: #ab7bdc; $custom-light: #c6a2e7; $custom-dark: #000000;
JSON
{
"hex": "#ab7bdc",
"rgb": {
"r": 171,
"g": 123,
"b": 220
},
"hsl": {
"h": 269.691,
"s": 58.084,
"l": 67.255
},
"oklch": {
"l": 0.66933,
"c": 0.14665,
"h": 305.6
},
"luminance": 0.27991
}Semantic roles & 50–950 ramp
primary
#AB7BDC
secondary
#DAE9CA
accent
#C62074
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84