#AA97EC#AA97EC
#AA97EC is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.6% C 0.122 H 293.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AA97EC |
|---|---|
| RGB | rgb(170, 151, 236) |
| HSL | hsl(253, 69%, 76%) |
| HSV | hsv(253, 36%, 93%) |
| CMYK | cmyk(28%, 36%, 0%, 7.5%) |
| CIE-LAB | lab(67.08, 25.09, -40.32) |
| CIE-LCH | lch(67.08, 47.49, 301.89°) |
| OKLab | oklab(72.6% 0.0486 -0.1123) |
| OKLCH | oklch(72.6% 0.122 293.4) |
| XYZ | xyz(42.7808, 36.7347, 84.1772) |
| Luminance | 0.3674 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 5.37
Perrywinkle
#8F8CE7
ΔE00 5.90
Pastel Purple
#CAA0FF
ΔE00 6.23
Lavender (survey)
#C79FEF
ΔE00 6.34
Baby Purple
#CA9BF7
ΔE00 6.46
Liliac
#C48EFD
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA97EC #D9EC97
analogous
#97AEEC #AA97EC #D497EC
triadic
#AA97EC #ECAA97 #97ECAA
tetradic
#AA97EC #EC97AE #D9EC97 #97ECD4
square
#AA97EC #EC97AE #D9EC97 #97ECD4
split-complementary
#AA97EC #ECD497 #AEEC97
monochromatic
#5530D9 #8063E3 #AA97EC #D4CBF5 #EAE5FA
Accessibility & contrast
On white
2.52
#AA97EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#AA97EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA97EC
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA97EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA97EC | 1.00 | 2.52 | 8.35 | 8.35 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80A4EF
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#9CA6B7
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #aa97ec; /* rgb */ color: rgb(170, 151, 236); /* oklch */ color: oklch(72.6% 0.122 293.4);
Tailwind
colors: {
custom: {
50: '#c5b5f2',
500: '#aa97ec',
950: '#000000',
},
}SCSS
$custom: #aa97ec; $custom-light: #c5b5f2; $custom-dark: #000000;
JSON
{
"hex": "#aa97ec",
"rgb": {
"r": 170,
"g": 151,
"b": 236
},
"hsl": {
"h": 253.412,
"s": 69.106,
"l": 75.882
},
"oklch": {
"l": 0.72601,
"c": 0.12237,
"h": 293.4
},
"luminance": 0.36735
}Semantic roles & 50–950 ramp
primary
#AA97EC
secondary
#ECF2D9
accent
#D114A7
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085