#A786CA#A786CA
#A786CA is a light, moderate violet. Relative luminance 0.295; OKLCH L 67.6% C 0.104 H 306.0°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A786CA |
|---|---|
| RGB | rgb(167, 134, 202) |
| HSL | hsl(269, 39%, 66%) |
| HSV | hsv(269, 34%, 79%) |
| CMYK | cmyk(17.3%, 33.7%, 0%, 20.8%) |
| CIE-LAB | lab(61.25, 25.83, -30.52) |
| CIE-LCH | lch(61.25, 39.99, 310.24°) |
| OKLab | oklab(67.61% 0.0612 -0.0842) |
| OKLCH | oklch(67.61% 0.104 306) |
| XYZ | xyz(35.1200, 29.5302, 59.7154) |
| Luminance | 0.2953 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.06
Pale Purple
#B790D4
ΔE00 3.87
Lavender
#B39DDB
ΔE00 6.62
Heather
#A484AC
ΔE00 7.32
Soft Purple
#A66FB5
ΔE00 7.50
Deep Lilac
#966EBD
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A786CA #A9CA86
analogous
#8687CA #A786CA #C986CA
triadic
#A786CA #CAA786 #86CAA7
tetradic
#A786CA #CA8687 #A9CA86 #86CAC9
square
#A786CA #CA8687 #A9CA86 #86CAC9
split-complementary
#A786CA #CAC986 #87CA86
monochromatic
#6A4195 #885BB7 #A786CA #C6B1DD #E5DBEF
Accessibility & contrast
On white
3.04
#A786CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#A786CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A786CA
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A786CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A786CA | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7893CD
Deuteranopia (green-blind)
#7F94C8
Tritanopia (blue-blind)
#A2909F
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a786ca; /* rgb */ color: rgb(167, 134, 202); /* oklch */ color: oklch(67.6% 0.104 306.0);
Tailwind
colors: {
custom: {
50: '#c2a9da',
500: '#a786ca',
950: '#000000',
},
}SCSS
$custom: #a786ca; $custom-light: #c2a9da; $custom-dark: #000000;
JSON
{
"hex": "#a786ca",
"rgb": {
"r": 167,
"g": 134,
"b": 202
},
"hsl": {
"h": 269.118,
"s": 39.08,
"l": 65.882
},
"oklch": {
"l": 0.67612,
"c": 0.10409,
"h": 306
},
"luminance": 0.2953
}Semantic roles & 50–950 ramp
primary
#A786CA
secondary
#D6E1CB
accent
#B23375
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#121015
muted
#817F83