#A786CD#A786CD
#A786CD is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.7% C 0.108 H 305.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A786CD |
|---|---|
| RGB | rgb(167, 134, 205) |
| HSL | hsl(268, 42%, 66%) |
| HSV | hsv(268, 35%, 80%) |
| CMYK | cmyk(18.5%, 34.6%, 0%, 19.6%) |
| CIE-LAB | lab(61.37, 26.51, -32.02) |
| CIE-LCH | lch(61.37, 41.57, 309.62°) |
| OKLab | oklab(67.75% 0.062 -0.0884) |
| OKLCH | oklch(67.75% 0.108 305) |
| XYZ | xyz(35.4787, 29.6736, 61.6043) |
| Luminance | 0.2967 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.36
Pale Purple
#B790D4
ΔE00 3.96
Lavender
#B39DDB
ΔE00 6.60
Deep Lilac
#966EBD
ΔE00 7.67
Soft Purple
#A66FB5
ΔE00 7.75
Heather
#A484AC
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786CD #ACCD86
analogous
#8689CD #A786CD #CA86CD
triadic
#A786CD #CDA786 #86CDA7
tetradic
#A786CD #CD8689 #ACCD86 #86CDCA
square
#A786CD #CD8689 #ACCD86 #86CDCA
split-complementary
#A786CD #CDCA86 #89CD86
monochromatic
#693F99 #885BBB #A786CD #C6B1DF #E6DDF1
Accessibility & contrast
On white
3.03
#A786CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#A786CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A786CD
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786CD | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7793D0
Deuteranopia (green-blind)
#7E94CB
Tritanopia (blue-blind)
#A191A0
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a786cd; /* rgb */ color: rgb(167, 134, 205); /* oklch */ color: oklch(67.7% 0.108 305.0);
Tailwind
colors: {
custom: {
50: '#c2a9dc',
500: '#a786cd',
950: '#000000',
},
}SCSS
$custom: #a786cd; $custom-light: #c2a9dc; $custom-dark: #000000;
JSON
{
"hex": "#a786cd",
"rgb": {
"r": 167,
"g": 134,
"b": 205
},
"hsl": {
"h": 267.887,
"s": 41.52,
"l": 66.471
},
"oklch": {
"l": 0.67749,
"c": 0.108,
"h": 305
},
"luminance": 0.29673
}Semantic roles & 50–950 ramp
primary
#A786CD
secondary
#D8E3CC
accent
#B53177
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83