#AB7CD2#AB7CD2
#AB7CD2 is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.6% C 0.133 H 308.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7CD2 |
|---|---|
| RGB | rgb(171, 124, 210) |
| HSL | hsl(273, 49%, 65%) |
| HSV | hsv(273, 41%, 82%) |
| CMYK | cmyk(18.6%, 41%, 0%, 17.6%) |
| CIE-LAB | lab(59.64, 34.49, -37.50) |
| CIE-LCH | lch(59.64, 50.95, 312.61°) |
| OKLab | oklab(66.6% 0.0823 -0.1041) |
| OKLCH | oklch(66.6% 0.133 308.3) |
| XYZ | xyz(35.6329, 27.7268, 64.4349) |
| Luminance | 0.2773 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.33
Deep Lilac
#966EBD
ΔE00 6.01
Pale Purple
#B790D4
ΔE00 6.18
Soft Purple
#A66FB5
ΔE00 6.22
Light Purple
#BF77F6
ΔE00 6.36
Mediumpurple
#9370DB
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7CD2 #A3D27C
analogous
#807CD2 #AB7CD2 #D27CCE
triadic
#AB7CD2 #D2AB7C #7CD2AB
tetradic
#AB7CD2 #D2807C #A3D27C #7CCED2
square
#AB7CD2 #D2807C #A3D27C #7CCED2
split-complementary
#AB7CD2 #CED27C #7CD280
monochromatic
#6F369D #8E4EC2 #AB7CD2 #C8AAE2 #E5D7F1
Accessibility & contrast
On white
3.21
#AB7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#AB7CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7CD2
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7CD2 | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#698ED5
Deuteranopia (green-blind)
#7490D0
Tritanopia (blue-blind)
#A6899D
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ab7cd2; /* rgb */ color: rgb(171, 124, 210); /* oklch */ color: oklch(66.6% 0.133 308.3);
Tailwind
colors: {
custom: {
50: '#c5a2e0',
500: '#ab7cd2',
950: '#000000',
},
}SCSS
$custom: #ab7cd2; $custom-light: #c5a2e0; $custom-dark: #000000;
JSON
{
"hex": "#ab7cd2",
"rgb": {
"r": 171,
"g": 124,
"b": 210
},
"hsl": {
"h": 272.791,
"s": 48.864,
"l": 65.49
},
"oklch": {
"l": 0.66601,
"c": 0.13265,
"h": 308.3
},
"luminance": 0.27726
}Semantic roles & 50–950 ramp
primary
#AB7CD2
secondary
#D4E3C6
accent
#BC296C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83