#AB7BD4#AB7BD4
#AB7BD4 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.5% C 0.137 H 307.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7BD4 |
|---|---|
| RGB | rgb(171, 123, 212) |
| HSL | hsl(272, 51%, 66%) |
| HSV | hsv(272, 42%, 83%) |
| CMYK | cmyk(19.3%, 42%, 0%, 16.9%) |
| CIE-LAB | lab(59.51, 35.50, -38.83) |
| CIE-LCH | lch(59.51, 52.62, 312.43°) |
| OKLab | oklab(66.53% 0.0841 -0.1079) |
| OKLCH | oklch(66.53% 0.137 307.9) |
| XYZ | xyz(35.7589, 27.5777, 65.7138) |
| Luminance | 0.2758 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.82
Light Purple
#BF77F6
ΔE00 5.96
Deep Lilac
#966EBD
ΔE00 5.99
Light Urple
#B36FF6
ΔE00 6.40
Soft Purple
#A66FB5
ΔE00 6.43
Mediumpurple
#9370DB
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7BD4 #A4D47B
analogous
#7E7BD4 #AB7BD4 #D47BD0
triadic
#AB7BD4 #D4AB7B #7BD4AB
tetradic
#AB7BD4 #D47E7B #A4D47B #7BD0D4
square
#AB7BD4 #D47E7B #A4D47B #7BD0D4
split-complementary
#AB7BD4 #D0D47B #7BD47E
monochromatic
#6F34A0 #8E4DC5 #AB7BD4 #C8A9E3 #E6D7F2
Accessibility & contrast
On white
3.22
#AB7BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#AB7BD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7BD4
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7BD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7BD4 | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#678DD7
Deuteranopia (green-blind)
#7390D2
Tritanopia (blue-blind)
#A5899D
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ab7bd4; /* rgb */ color: rgb(171, 123, 212); /* oklch */ color: oklch(66.5% 0.137 307.9);
Tailwind
colors: {
custom: {
50: '#c5a2e1',
500: '#ab7bd4',
950: '#000000',
},
}SCSS
$custom: #ab7bd4; $custom-light: #c5a2e1; $custom-dark: #000000;
JSON
{
"hex": "#ab7bd4",
"rgb": {
"r": 171,
"g": 123,
"b": 212
},
"hsl": {
"h": 272.36,
"s": 50.857,
"l": 65.686
},
"oklch": {
"l": 0.66528,
"c": 0.1368,
"h": 307.9
},
"luminance": 0.27577
}Semantic roles & 50–950 ramp
primary
#AB7BD4
secondary
#D4E4C7
accent
#BE276D
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83