#A6A2E9#A6A2E9
#A6A2E9 is a light, moderate blue. Relative luminance 0.398; OKLCH L 74.2% C 0.102 H 286.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A2E9 |
|---|---|
| RGB | rgb(166, 162, 233) |
| HSL | hsl(243, 62%, 77%) |
| HSV | hsv(243, 30%, 91%) |
| CMYK | cmyk(28.8%, 30.5%, 0%, 8.6%) |
| CIE-LAB | lab(69.35, 17.00, -35.16) |
| CIE-LCH | lch(69.35, 39.06, 295.80°) |
| OKLab | oklab(74.22% 0.0284 -0.0976) |
| OKLCH | oklch(74.22% 0.102 286.2) |
| XYZ | xyz(43.3504, 39.8299, 82.4789) |
| Luminance | 0.3983 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 5.74
Periwinkle Blue
#8F99FB
ΔE00 6.74
Perrywinkle
#8F8CE7
ΔE00 7.12
Lavender (survey)
#C79FEF
ΔE00 8.14
Pale Violet
#CEAEFA
ΔE00 8.21
Pastel Purple
#CAA0FF
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A2E9 #E5E9A2
analogous
#A2C2E9 #A6A2E9 #C9A2E9
triadic
#A6A2E9 #E9A6A2 #A2E9A6
tetradic
#A6A2E9 #E9A2C2 #E5E9A2 #A2E9C9
square
#A6A2E9 #E9A2C2 #E5E9A2 #A2E9C9
split-complementary
#A6A2E9 #E9C9A2 #C2E9A2
monochromatic
#473FD2 #7771DD #A6A2E9 #D5D3F5 #E7E6F9
Accessibility & contrast
On white
2.34
#A6A2E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#A6A2E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A2E9
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A2E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A2E9 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EABEC
Deuteranopia (green-blind)
#8DA7E7
Tritanopia (blue-blind)
#96AFBB
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a6a2e9; /* rgb */ color: rgb(166, 162, 233); /* oklch */ color: oklch(74.2% 0.102 286.2);
Tailwind
colors: {
custom: {
50: '#c2bdf0',
500: '#a6a2e9',
950: '#000000',
},
}SCSS
$custom: #a6a2e9; $custom-light: #c2bdf0; $custom-dark: #000000;
JSON
{
"hex": "#a6a2e9",
"rgb": {
"r": 166,
"g": 162,
"b": 233
},
"hsl": {
"h": 243.38,
"s": 61.739,
"l": 77.451
},
"oklch": {
"l": 0.74222,
"c": 0.10162,
"h": 286.2
},
"luminance": 0.39831
}Semantic roles & 50–950 ramp
primary
#A6A2E9
secondary
#EFF1DA
accent
#C91CC0
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121216
muted
#818184