#A786CB#A786CB
#A786CB is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.7% C 0.105 H 305.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A786CB |
|---|---|
| RGB | rgb(167, 134, 203) |
| HSL | hsl(269, 40%, 66%) |
| HSV | hsv(269, 34%, 80%) |
| CMYK | cmyk(17.7%, 34%, 0%, 20.4%) |
| CIE-LAB | lab(61.29, 26.06, -31.02) |
| CIE-LCH | lch(61.29, 40.51, 310.03°) |
| OKLab | oklab(67.66% 0.0615 -0.0856) |
| OKLCH | oklch(67.66% 0.105 305.7) |
| XYZ | xyz(35.2388, 29.5777, 60.3410) |
| Luminance | 0.2958 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.15
Pale Purple
#B790D4
ΔE00 3.89
Lavender
#B39DDB
ΔE00 6.61
Heather
#A484AC
ΔE00 7.54
Soft Purple
#A66FB5
ΔE00 7.58
Deep Lilac
#966EBD
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786CB #AACB86
analogous
#8687CB #A786CB #C986CB
triadic
#A786CB #CBA786 #86CBA7
tetradic
#A786CB #CB8687 #AACB86 #86CBC9
square
#A786CB #CB8687 #AACB86 #86CBC9
split-complementary
#A786CB #CBC986 #87CB86
monochromatic
#694196 #885BB9 #A786CB #C6B1DD #E5DCF0
Accessibility & contrast
On white
3.04
#A786CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#A786CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A786CB
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786CB | 1.00 | 3.04 | 6.92 | 6.92 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7893CE
Deuteranopia (green-blind)
#7F94C9
Tritanopia (blue-blind)
#A2909F
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a786cb; /* rgb */ color: rgb(167, 134, 203); /* oklch */ color: oklch(67.7% 0.105 305.7);
Tailwind
colors: {
custom: {
50: '#c2a9db',
500: '#a786cb',
950: '#000000',
},
}SCSS
$custom: #a786cb; $custom-light: #c2a9db; $custom-dark: #000000;
JSON
{
"hex": "#a786cb",
"rgb": {
"r": 167,
"g": 134,
"b": 203
},
"hsl": {
"h": 268.696,
"s": 39.884,
"l": 66.078
},
"oklch": {
"l": 0.67658,
"c": 0.10539,
"h": 305.7
},
"luminance": 0.29577
}Semantic roles & 50–950 ramp
primary
#A786CB
secondary
#D7E2CB
accent
#B33376
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83