#AA86CB#AA86CB
#AA86CB is a light, moderate violet. Relative luminance 0.299; OKLCH L 67.9% C 0.106 H 307.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AA86CB |
|---|---|
| RGB | rgb(170, 134, 203) |
| HSL | hsl(271, 40%, 66%) |
| HSV | hsv(271, 34%, 80%) |
| CMYK | cmyk(16.3%, 34%, 0%, 20.4%) |
| CIE-LAB | lab(61.58, 26.99, -30.56) |
| CIE-LCH | lch(61.58, 40.77, 311.45°) |
| OKLab | oklab(67.94% 0.065 -0.0842) |
| OKLCH | oklch(67.94% 0.106 307.7) |
| XYZ | xyz(35.8801, 29.9083, 60.3710) |
| Luminance | 0.2991 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 2.88
Pale Purple
#B790D4
ΔE00 3.45
Lavender
#B39DDB
ΔE00 6.64
Soft Purple
#A66FB5
ΔE00 7.35
Heather
#A484AC
ΔE00 7.36
Deep Lilac
#966EBD
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA86CB #A7CB86
analogous
#8786CB #AA86CB #CB86C9
triadic
#AA86CB #CBAA86 #86CBAA
tetradic
#AA86CB #CB8786 #A7CB86 #86C9CB
square
#AA86CB #CB8786 #A7CB86 #86C9CB
split-complementary
#AA86CB #C9CB86 #86CB87
monochromatic
#6D4196 #8C5BB9 #AA86CB #C8B1DD #E6DCF0
Accessibility & contrast
On white
3.01
#AA86CB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#AA86CB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA86CB
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA86CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA86CB | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#A6909F
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #aa86cb; /* rgb */ color: rgb(170, 134, 203); /* oklch */ color: oklch(67.9% 0.106 307.7);
Tailwind
colors: {
custom: {
50: '#c4a9db',
500: '#aa86cb',
950: '#000000',
},
}SCSS
$custom: #aa86cb; $custom-light: #c4a9db; $custom-dark: #000000;
JSON
{
"hex": "#aa86cb",
"rgb": {
"r": 170,
"g": 134,
"b": 203
},
"hsl": {
"h": 271.304,
"s": 39.884,
"l": 66.078
},
"oklch": {
"l": 0.67944,
"c": 0.10638,
"h": 307.7
},
"luminance": 0.29908
}Semantic roles & 50–950 ramp
primary
#AA86CB
secondary
#D6E2CB
accent
#B33370
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83