#AA9EFF#AA9EFF
#AA9EFF is a light, vivid blue. Relative luminance 0.402; OKLCH L 74.8% C 0.138 H 288.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AA9EFF |
|---|---|
| RGB | rgb(170, 158, 255) |
| HSL | hsl(247, 100%, 81%) |
| HSV | hsv(247, 38%, 100%) |
| CMYK | cmyk(33.3%, 38%, 0%, 0%) |
| CIE-LAB | lab(69.62, 25.89, -46.70) |
| CIE-LCH | lch(69.62, 53.40, 299.01°) |
| OKLab | oklab(74.82% 0.0432 -0.1308) |
| OKLCH | oklch(74.82% 0.138 288.3) |
| XYZ | xyz(46.8496, 40.2186, 99.8829) |
| Luminance | 0.4022 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.46
Perrywinkle
#8F8CE7
ΔE00 6.43
Pastel Purple
#CAA0FF
ΔE00 7.00
Lavender Blue
#8B88F8
ΔE00 7.39
Liliac
#C48EFD
ΔE00 7.95
Lilac (survey)
#CEA2FD
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA9EFF #F3FF9E
analogous
#9EC2FF #AA9EFF #DA9EFF
triadic
#AA9EFF #FFAA9E #9EFFAA
tetradic
#AA9EFF #FF9EC2 #F3FF9E #9EFFDA
square
#AA9EFF #FF9EC2 #F3FF9E #9EFFDA
split-complementary
#AA9EFF #FFDA9E #C2FF9E
monochromatic
#3F24FF #7461FF #AA9EFF #E0DBFF #E4E0FF
Accessibility & contrast
On white
2.32
#AA9EFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#AA9EFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA9EFF
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA9EFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA9EFF | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#7FA8FD
Tritanopia (blue-blind)
#95B0C2
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #aa9eff; /* rgb */ color: rgb(170, 158, 255); /* oklch */ color: oklch(74.8% 0.138 288.3);
Tailwind
colors: {
custom: {
50: '#c6baff',
500: '#aa9eff',
950: '#000000',
},
}SCSS
$custom: #aa9eff; $custom-light: #c6baff; $custom-dark: #000000;
JSON
{
"hex": "#aa9eff",
"rgb": {
"r": 170,
"g": 158,
"b": 255
},
"hsl": {
"h": 247.423,
"s": 100,
"l": 80.98
},
"oklch": {
"l": 0.74824,
"c": 0.13775,
"h": 288.3
},
"luminance": 0.4022
}Semantic roles & 50–950 ramp
primary
#AA9EFF
secondary
#F3F7D4
accent
#E600C9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086