#AA9FF2#AA9FF2
#AA9FF2 is a light, moderate blue. Relative luminance 0.398; OKLCH L 74.4% C 0.118 H 289.3°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AA9FF2 |
|---|---|
| RGB | rgb(170, 159, 242) |
| HSL | hsl(248, 76%, 79%) |
| HSV | hsv(248, 34%, 95%) |
| CMYK | cmyk(29.8%, 34.3%, 0%, 5.1%) |
| CIE-LAB | lab(69.29, 22.05, -40.15) |
| CIE-LCH | lch(69.29, 45.80, 298.78°) |
| OKLab | oklab(74.38% 0.0391 -0.1118) |
| OKLCH | oklch(74.38% 0.118 289.3) |
| XYZ | xyz(44.9986, 39.7522, 89.2893) |
| Luminance | 0.3975 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 6.05
Periwinkle Blue
#8F99FB
ΔE00 6.42
Perrywinkle
#8F8CE7
ΔE00 6.56
Pastel Purple
#CAA0FF
ΔE00 6.72
Lavender (survey)
#C79FEF
ΔE00 7.15
Lilac (survey)
#CEA2FD
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA9FF2 #E7F29F
analogous
#9FBDF2 #AA9FF2 #D39FF2
triadic
#AA9FF2 #F2AA9F #9FF2AA
tetradic
#AA9FF2 #F29FBD #E7F29F #9FF2D3
square
#AA9FF2 #F29FBD #E7F29F #9FF2D3
split-complementary
#AA9FF2 #F2D39F #BDF29F
monochromatic
#4B33E3 #7A69EB #AA9FF2 #DAD5F9 #E7E4FB
Accessibility & contrast
On white
2.35
#AA9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#AA9FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA9FF2
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA9FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA9FF2 | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#87A7F0
Tritanopia (blue-blind)
#99AEBD
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #aa9ff2; /* rgb */ color: rgb(170, 159, 242); /* oklch */ color: oklch(74.4% 0.118 289.3);
Tailwind
colors: {
custom: {
50: '#c5bbf6',
500: '#aa9ff2',
950: '#000000',
},
}SCSS
$custom: #aa9ff2; $custom-light: #c5bbf6; $custom-dark: #000000;
JSON
{
"hex": "#aa9ff2",
"rgb": {
"r": 170,
"g": 159,
"b": 242
},
"hsl": {
"h": 247.952,
"s": 76.147,
"l": 78.627
},
"oklch": {
"l": 0.74381,
"c": 0.11846,
"h": 289.3
},
"luminance": 0.39753
}Semantic roles & 50–950 ramp
primary
#AA9FF2
secondary
#EFF3D8
accent
#D80DBD
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085