#A787CD#A787CD
#A787CD is a light, moderate violet. Relative luminance 0.300; OKLCH L 67.9% C 0.106 H 304.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A787CD |
|---|---|
| RGB | rgb(167, 135, 205) |
| HSL | hsl(267, 41%, 67%) |
| HSV | hsv(267, 34%, 80%) |
| CMYK | cmyk(18.5%, 34.1%, 0%, 19.6%) |
| CIE-LAB | lab(61.61, 25.94, -31.64) |
| CIE-LCH | lch(61.61, 40.92, 309.35°) |
| OKLab | oklab(67.93% 0.0605 -0.0874) |
| OKLCH | oklch(67.93% 0.106 304.7) |
| XYZ | xyz(35.6176, 29.9513, 61.6506) |
| Luminance | 0.2995 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.59
Pale Purple
#B790D4
ΔE00 3.80
Lavender
#B39DDB
ΔE00 6.31
Heather
#A484AC
ΔE00 7.91
Deep Lilac
#966EBD
ΔE00 7.94
Soft Purple
#A66FB5
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A787CD #ADCD87
analogous
#878ACD #A787CD #CA87CD
triadic
#A787CD #CDA787 #87CDA7
tetradic
#A787CD #CD878A #ADCD87 #87CDCA
square
#A787CD #CD878A #ADCD87 #87CDCA
split-complementary
#A787CD #CDCA87 #8ACD87
monochromatic
#69409A #875CBB #A787CD #C7B2DF #E6DDF1
Accessibility & contrast
On white
3.00
#A787CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#A787CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A787CD
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A787CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A787CD | 1.00 | 3.00 | 6.99 | 6.99 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#7F95CB
Tritanopia (blue-blind)
#A192A1
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #a787cd; /* rgb */ color: rgb(167, 135, 205); /* oklch */ color: oklch(67.9% 0.106 304.7);
Tailwind
colors: {
custom: {
50: '#c2aadc',
500: '#a787cd',
950: '#000000',
},
}SCSS
$custom: #a787cd; $custom-light: #c2aadc; $custom-dark: #000000;
JSON
{
"hex": "#a787cd",
"rgb": {
"r": 167,
"g": 135,
"b": 205
},
"hsl": {
"h": 267.429,
"s": 41.176,
"l": 66.667
},
"oklch": {
"l": 0.67932,
"c": 0.10629,
"h": 304.7
},
"luminance": 0.29951
}Semantic roles & 50–950 ramp
primary
#A787CD
secondary
#D9E3CD
accent
#B43178
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83