#A586CB#A586CB
#A586CB is a light, moderate violet. Relative luminance 0.294; OKLCH L 67.5% C 0.105 H 304.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A586CB |
|---|---|
| RGB | rgb(165, 134, 203) |
| HSL | hsl(267, 40%, 66%) |
| HSV | hsv(267, 34%, 80%) |
| CMYK | cmyk(18.7%, 34%, 0%, 20.4%) |
| CIE-LAB | lab(61.10, 25.44, -31.33) |
| CIE-LCH | lch(61.10, 40.36, 309.08°) |
| OKLab | oklab(67.47% 0.0591 -0.0865) |
| OKLCH | oklch(67.47% 0.105 304.4) |
| XYZ | xyz(34.8195, 29.3614, 60.3213) |
| Luminance | 0.2936 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.42
Pale Purple
#B790D4
ΔE00 4.23
Lavender
#B39DDB
ΔE00 6.63
Deep Lilac
#966EBD
ΔE00 7.59
Heather
#A484AC
ΔE00 7.71
Soft Purple
#A66FB5
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A586CB #ACCB86
analogous
#8689CB #A586CB #C786CB
triadic
#A586CB #CBA586 #86CBA5
tetradic
#A586CB #CB8689 #ACCB86 #86CBC7
square
#A586CB #CB8689 #ACCB86 #86CBC7
split-complementary
#A586CB #CBC786 #89CB86
monochromatic
#674196 #855BB9 #A586CB #C5B1DD #E5DCF0
Accessibility & contrast
On white
3.06
#A586CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#A586CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A586CB
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A586CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A586CB | 1.00 | 3.06 | 6.87 | 6.87 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7793CE
Deuteranopia (green-blind)
#7E94C9
Tritanopia (blue-blind)
#9F909F
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a586cb; /* rgb */ color: rgb(165, 134, 203); /* oklch */ color: oklch(67.5% 0.105 304.4);
Tailwind
colors: {
custom: {
50: '#c0a9db',
500: '#a586cb',
950: '#000000',
},
}SCSS
$custom: #a586cb; $custom-light: #c0a9db; $custom-dark: #000000;
JSON
{
"hex": "#a586cb",
"rgb": {
"r": 165,
"g": 134,
"b": 203
},
"hsl": {
"h": 266.957,
"s": 39.884,
"l": 66.078
},
"oklch": {
"l": 0.67469,
"c": 0.10479,
"h": 304.4
},
"luminance": 0.29361
}Semantic roles & 50–950 ramp
primary
#A586CB
secondary
#D8E2CB
accent
#B33379
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83