#AB7CCD#AB7CCD
#AB7CCD is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.4% C 0.127 H 310.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7CCD |
|---|---|
| RGB | rgb(171, 124, 205) |
| HSL | hsl(275, 45%, 65%) |
| HSV | hsv(275, 40%, 80%) |
| CMYK | cmyk(16.6%, 39.5%, 0%, 19.6%) |
| CIE-LAB | lab(59.42, 33.37, -35.03) |
| CIE-LCH | lch(59.42, 48.38, 313.61°) |
| OKLab | oklab(66.36% 0.0813 -0.0969) |
| OKLCH | oklch(66.36% 0.127 310) |
| XYZ | xyz(35.0197, 27.4815, 61.2054) |
| Luminance | 0.2748 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.35
Soft Purple
#A66FB5
ΔE00 5.45
Deep Lilac
#966EBD
ΔE00 5.82
Pale Purple
#B790D4
ΔE00 5.91
Light Purple
#BF77F6
ΔE00 7.17
Orchid (survey)
#C875C4
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7CCD #9ECD7C
analogous
#837CCD #AB7CCD #CD7CC6
triadic
#AB7CCD #CDAB7C #7CCDAB
tetradic
#AB7CCD #CD837C #9ECD7C #7CC6CD
square
#AB7CCD #CD837C #9ECD7C #7CC6CD
split-complementary
#AB7CCD #C6CD7C #7CCD83
monochromatic
#6F3996 #8F50BC #AB7CCD #C7A8DE #E4D5EF
Accessibility & contrast
On white
3.23
#AB7CCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.50
#AB7CCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7CCD
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7CCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7CCD | 1.00 | 3.23 | 6.50 | 6.50 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C8DD0
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#A7889B
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ab7ccd; /* rgb */ color: rgb(171, 124, 205); /* oklch */ color: oklch(66.4% 0.127 310.0);
Tailwind
colors: {
custom: {
50: '#c5a2dc',
500: '#ab7ccd',
950: '#000000',
},
}SCSS
$custom: #ab7ccd; $custom-light: #c5a2dc; $custom-dark: #000000;
JSON
{
"hex": "#ab7ccd",
"rgb": {
"r": 171,
"g": 124,
"b": 205
},
"hsl": {
"h": 274.815,
"s": 44.751,
"l": 64.51
},
"oklch": {
"l": 0.66358,
"c": 0.12652,
"h": 310
},
"luminance": 0.27481
}Semantic roles & 50–950 ramp
primary
#AB7CCD
secondary
#D0E0C4
accent
#B82E68
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83