#AA8EE9#AA8EE9
#AA8EE9 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.8% C 0.132 H 297.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AA8EE9 |
|---|---|
| RGB | rgb(170, 142, 233) |
| HSL | hsl(258, 67%, 74%) |
| HSV | hsv(258, 39%, 91%) |
| CMYK | cmyk(27%, 39.1%, 0%, 8.6%) |
| CIE-LAB | lab(64.78, 29.45, -42.26) |
| CIE-LCH | lch(64.78, 51.51, 304.87°) |
| OKLab | oklab(70.81% 0.0602 -0.1179) |
| OKLCH | oklch(70.81% 0.132 297.1) |
| XYZ | xyz(40.9551, 33.7748, 81.4365) |
| Luminance | 0.3377 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.33
Perrywinkle
#8F8CE7
ΔE00 6.00
Pale Purple
#B790D4
ΔE00 6.28
Lavender
#B39DDB
ΔE00 6.47
Baby Purple
#CA9BF7
ΔE00 6.47
Pastel Purple
#CAA0FF
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA8EE9 #CDE98E
analogous
#8E9FE9 #AA8EE9 #D78EE9
triadic
#AA8EE9 #E9AA8E #8EE9AA
tetradic
#AA8EE9 #E98E9F #CDE98E #8EE9D7
square
#AA8EE9 #E98E9F #CDE98E #8EE9D7
split-complementary
#AA8EE9 #E9D78E #9FE98E
monochromatic
#5E29D3 #835BDF #AA8EE9 #D1C1F3 #ECE5FA
Accessibility & contrast
On white
2.71
#AA8EE9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#AA8EE9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA8EE9
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA8EE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA8EE9 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#759EEC
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#9D9EB0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #aa8ee9; /* rgb */ color: rgb(170, 142, 233); /* oklch */ color: oklch(70.8% 0.132 297.1);
Tailwind
colors: {
custom: {
50: '#c5aff0',
500: '#aa8ee9',
950: '#000000',
},
}SCSS
$custom: #aa8ee9; $custom-light: #c5aff0; $custom-dark: #000000;
JSON
{
"hex": "#aa8ee9",
"rgb": {
"r": 170,
"g": 142,
"b": 233
},
"hsl": {
"h": 258.462,
"s": 67.407,
"l": 73.529
},
"oklch": {
"l": 0.70811,
"c": 0.13242,
"h": 297.1
},
"luminance": 0.33775
}Semantic roles & 50–950 ramp
primary
#AA8EE9
secondary
#EAF2D9
accent
#CF1696
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84