#AA91EB#AA91EB
#AA91EB is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.5% C 0.130 H 295.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #AA91EB |
|---|---|
| RGB | rgb(170, 145, 235) |
| HSL | hsl(257, 69%, 75%) |
| HSV | hsv(257, 38%, 92%) |
| CMYK | cmyk(27.7%, 38.3%, 0%, 7.8%) |
| CIE-LAB | lab(65.59, 28.24, -42.10) |
| CIE-LCH | lch(65.59, 50.70, 303.85°) |
| OKLab | oklab(71.45% 0.0565 -0.1175) |
| OKLCH | oklch(71.45% 0.13 295.7) |
| XYZ | xyz(41.6948, 34.7945, 83.1005) |
| Luminance | 0.3479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 5.56
Perrywinkle
#8F8CE7
ΔE00 5.78
Lavender
#B39DDB
ΔE00 6.14
Baby Purple
#CA9BF7
ΔE00 6.36
Pastel Purple
#CAA0FF
ΔE00 6.49
Pale Purple
#B790D4
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA91EB #D2EB91
analogous
#91A5EB #AA91EB #D791EB
triadic
#AA91EB #EBAA91 #91EBAA
tetradic
#AA91EB #EB91A5 #D2EB91 #91EBD7
square
#AA91EB #EB91A5 #D2EB91 #91EBD7
split-complementary
#AA91EB #EBD791 #A5EB91
monochromatic
#5A29D8 #825DE2 #AA91EB #D2C5F4 #EBE5FA
Accessibility & contrast
On white
2.64
#AA91EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#AA91EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA91EB
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA91EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA91EB | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A0EE
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#9CA1B3
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #aa91eb; /* rgb */ color: rgb(170, 145, 235); /* oklch */ color: oklch(71.5% 0.130 295.7);
Tailwind
colors: {
custom: {
50: '#c5b1f2',
500: '#aa91eb',
950: '#000000',
},
}SCSS
$custom: #aa91eb; $custom-light: #c5b1f2; $custom-dark: #000000;
JSON
{
"hex": "#aa91eb",
"rgb": {
"r": 170,
"g": 145,
"b": 235
},
"hsl": {
"h": 256.667,
"s": 69.231,
"l": 74.51
},
"oklch": {
"l": 0.71452,
"c": 0.13036,
"h": 295.7
},
"luminance": 0.34795
}Semantic roles & 50–950 ramp
primary
#AA91EB
secondary
#EBF2D9
accent
#D1149D
background
#FCFAFE
surface
#F8F5FD
border
#D1CFD5
text
#131017
muted
#827F85