#AB7CD3#AB7CD3
#AB7CD3 is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.6% C 0.134 H 308.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7CD3 |
|---|---|
| RGB | rgb(171, 124, 211) |
| HSL | hsl(272, 50%, 66%) |
| HSV | hsv(272, 41%, 83%) |
| CMYK | cmyk(19%, 41.2%, 0%, 17.3%) |
| CIE-LAB | lab(59.69, 34.72, -37.99) |
| CIE-LCH | lch(59.69, 51.46, 312.42°) |
| OKLab | oklab(66.65% 0.0825 -0.1055) |
| OKLCH | oklch(66.65% 0.134 308) |
| XYZ | xyz(35.7579, 27.7768, 65.0931) |
| Luminance | 0.2778 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.53
Deep Lilac
#966EBD
ΔE00 6.06
Light Purple
#BF77F6
ΔE00 6.21
Pale Purple
#B790D4
ΔE00 6.25
Soft Purple
#A66FB5
ΔE00 6.38
Light Urple
#B36FF6
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7CD3 #A4D37C
analogous
#7F7CD3 #AB7CD3 #D37CCF
triadic
#AB7CD3 #D3AB7C #7CD3AB
tetradic
#AB7CD3 #D37F7C #A4D37C #7CCFD3
square
#AB7CD3 #D37F7C #A4D37C #7CCFD3
split-complementary
#AB7CD3 #CFD37C #7CD37F
monochromatic
#6F359F #8E4EC4 #AB7CD3 #C8AAE2 #E6D8F2
Accessibility & contrast
On white
3.20
#AB7CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.56
#AB7CD3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7CD3
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7CD3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7CD3 | 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)
#698ED6
Deuteranopia (green-blind)
#7490D1
Tritanopia (blue-blind)
#A6899D
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ab7cd3; /* rgb */ color: rgb(171, 124, 211); /* oklch */ color: oklch(66.6% 0.134 308.0);
Tailwind
colors: {
custom: {
50: '#c5a2e1',
500: '#ab7cd3',
950: '#000000',
},
}SCSS
$custom: #ab7cd3; $custom-light: #c5a2e1; $custom-dark: #000000;
JSON
{
"hex": "#ab7cd3",
"rgb": {
"r": 171,
"g": 124,
"b": 211
},
"hsl": {
"h": 272.414,
"s": 49.714,
"l": 65.686
},
"oklch": {
"l": 0.6665,
"c": 0.13389,
"h": 308
},
"luminance": 0.27776
}Semantic roles & 50–950 ramp
primary
#AB7CD3
secondary
#D4E4C7
accent
#BD286D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83