#A787CB#A787CB
#A787CB is a light, moderate violet. Relative luminance 0.299; OKLCH L 67.8% C 0.104 H 305.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A787CB |
|---|---|
| RGB | rgb(167, 135, 203) |
| HSL | hsl(268, 40%, 66%) |
| HSV | hsv(268, 33%, 80%) |
| CMYK | cmyk(17.7%, 33.5%, 0%, 20.4%) |
| CIE-LAB | lab(61.53, 25.49, -30.65) |
| CIE-LCH | lch(61.53, 39.86, 309.75°) |
| OKLab | oklab(67.84% 0.06 -0.0845) |
| OKLCH | oklch(67.84% 0.104 305.4) |
| XYZ | xyz(35.3777, 29.8554, 60.3872) |
| Luminance | 0.2985 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.41
Pale Purple
#B790D4
ΔE00 3.74
Lavender
#B39DDB
ΔE00 6.32
Heather
#A484AC
ΔE00 7.46
Soft Purple
#A66FB5
ΔE00 7.84
Deep Lilac
#966EBD
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A787CB #ABCB87
analogous
#8789CB #A787CB #C987CB
triadic
#A787CB #CBA787 #87CBA7
tetradic
#A787CB #CB8789 #ABCB87 #87CBC9
square
#A787CB #CB8789 #ABCB87 #87CBC9
split-complementary
#A787CB #CBC987 #89CB87
monochromatic
#694196 #885CB8 #A787CB #C6B2DE #E6DCF0
Accessibility & contrast
On white
3.01
#A787CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#A787CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A787CB
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A787CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A787CB | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7994CE
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#A291A0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a787cb; /* rgb */ color: rgb(167, 135, 203); /* oklch */ color: oklch(67.8% 0.104 305.4);
Tailwind
colors: {
custom: {
50: '#c2aadb',
500: '#a787cb',
950: '#000000',
},
}SCSS
$custom: #a787cb; $custom-light: #c2aadb; $custom-dark: #000000;
JSON
{
"hex": "#a787cb",
"rgb": {
"r": 167,
"g": 135,
"b": 203
},
"hsl": {
"h": 268.235,
"s": 39.535,
"l": 66.275
},
"oklch": {
"l": 0.67841,
"c": 0.10367,
"h": 305.4
},
"luminance": 0.29855
}Semantic roles & 50–950 ramp
primary
#A787CB
secondary
#D8E2CC
accent
#B33377
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83