#AB7CD4#AB7CD4
#AB7CD4 is a light, vivid violet. Relative luminance 0.278; OKLCH L 66.7% C 0.135 H 307.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7CD4 |
|---|---|
| RGB | rgb(171, 124, 212) |
| HSL | hsl(272, 51%, 66%) |
| HSV | hsv(272, 42%, 83%) |
| CMYK | cmyk(19.3%, 41.5%, 0%, 16.9%) |
| CIE-LAB | lab(59.73, 34.94, -38.48) |
| CIE-LCH | lch(59.73, 51.98, 312.24°) |
| OKLab | oklab(66.7% 0.0826 -0.1069) |
| OKLCH | oklch(66.7% 0.135 307.7) |
| XYZ | xyz(35.8836, 27.8271, 65.7554) |
| Luminance | 0.2783 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.72
Light Purple
#BF77F6
ΔE00 6.06
Deep Lilac
#966EBD
ΔE00 6.13
Pale Purple
#B790D4
ΔE00 6.32
Soft Purple
#A66FB5
ΔE00 6.54
Light Urple
#B36FF6
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7CD4 #A5D47C
analogous
#7F7CD4 #AB7CD4 #D47CD1
triadic
#AB7CD4 #D4AB7C #7CD4AB
tetradic
#AB7CD4 #D47F7C #A5D47C #7CD1D4
square
#AB7CD4 #D47F7C #A5D47C #7CD1D4
split-complementary
#AB7CD4 #D1D47C #7CD47F
monochromatic
#6E35A1 #8D4EC5 #AB7CD4 #C9AAE3 #E6D8F2
Accessibility & contrast
On white
3.20
#AB7CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#AB7CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7CD4
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7CD4 | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#688ED7
Deuteranopia (green-blind)
#7390D2
Tritanopia (blue-blind)
#A58A9E
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ab7cd4; /* rgb */ color: rgb(171, 124, 212); /* oklch */ color: oklch(66.7% 0.135 307.7);
Tailwind
colors: {
custom: {
50: '#c5a2e1',
500: '#ab7cd4',
950: '#000000',
},
}SCSS
$custom: #ab7cd4; $custom-light: #c5a2e1; $custom-dark: #000000;
JSON
{
"hex": "#ab7cd4",
"rgb": {
"r": 171,
"g": 124,
"b": 212
},
"hsl": {
"h": 272.045,
"s": 50.575,
"l": 65.882
},
"oklch": {
"l": 0.66699,
"c": 0.13512,
"h": 307.7
},
"luminance": 0.27827
}Semantic roles & 50–950 ramp
primary
#AB7CD4
secondary
#D5E4C7
accent
#BE286E
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83