#AAA2FF#AAA2FF
#AAA2FF is a light, vivid blue. Relative luminance 0.416; OKLCH L 75.6% C 0.132 H 286.7°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA2FF |
|---|---|
| RGB | rgb(170, 162, 255) |
| HSL | hsl(245, 100%, 82%) |
| HSV | hsv(245, 36%, 100%) |
| CMYK | cmyk(33.3%, 36.5%, 0%, 0%) |
| CIE-LAB | lab(70.60, 23.64, -45.17) |
| CIE-LCH | lch(70.60, 50.98, 297.62°) |
| OKLab | oklab(75.57% 0.038 -0.1264) |
| OKLCH | oklch(75.57% 0.132 286.7) |
| XYZ | xyz(47.5430, 41.6054, 100.1141) |
| Luminance | 0.4161 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.41
Perrywinkle
#8F8CE7
ΔE00 7.03
Pastel Purple
#CAA0FF
ΔE00 7.42
Lavender Blue
#8B88F8
ΔE00 8.11
Lavender
#B39DDB
ΔE00 8.21
Lilac (survey)
#CEA2FD
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA2FF #F7FFA2
analogous
#A2C9FF #AAA2FF #D9A2FF
triadic
#AAA2FF #FFAAA2 #A2FFAA
tetradic
#AAA2FF #FFA2C9 #F7FFA2 #A2FFD9
square
#AAA2FF #FFA2C9 #F7FFA2 #A2FFD9
split-complementary
#AAA2FF #FFD9A2 #C9FFA2
monochromatic
#3A28FF #7265FF #AAA2FF #E2DFFF #E3E0FF
Accessibility & contrast
On white
2.25
#AAA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.32
#AAA2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA2FF
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA2FF | 1.00 | 2.25 | 9.32 | 9.32 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#84AAFD
Tritanopia (blue-blind)
#94B3C5
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #aaa2ff; /* rgb */ color: rgb(170, 162, 255); /* oklch */ color: oklch(75.6% 0.132 286.7);
Tailwind
colors: {
custom: {
50: '#c6bdff',
500: '#aaa2ff',
950: '#000000',
},
}SCSS
$custom: #aaa2ff; $custom-light: #c6bdff; $custom-dark: #000000;
JSON
{
"hex": "#aaa2ff",
"rgb": {
"r": 170,
"g": 162,
"b": 255
},
"hsl": {
"h": 245.161,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.75568,
"c": 0.13195,
"h": 286.7
},
"luminance": 0.41607
}Semantic roles & 50–950 ramp
primary
#AAA2FF
secondary
#F4F7D4
accent
#E600D2
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186