#A6A1E5#A6A1E5
#A6A1E5 is a light, moderate blue. Relative luminance 0.393; OKLCH L 73.9% C 0.097 H 287.1°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A1E5 |
|---|---|
| RGB | rgb(166, 161, 229) |
| HSL | hsl(244, 57%, 76%) |
| HSV | hsv(244, 30%, 90%) |
| CMYK | cmyk(27.5%, 29.7%, 0%, 10.2%) |
| CIE-LAB | lab(68.93, 16.58, -33.61) |
| CIE-LCH | lch(68.93, 37.48, 296.25°) |
| OKLab | oklab(73.85% 0.0287 -0.0931) |
| OKLCH | oklch(73.85% 0.097 287.1) |
| XYZ | xyz(42.6100, 39.2530, 79.4452) |
| Luminance | 0.3925 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 5.09
Perrywinkle
#8F8CE7
ΔE00 7.26
Periwinkle Blue
#8F99FB
ΔE00 7.31
Lavender (survey)
#C79FEF
ΔE00 7.90
Pale Violet
#CEAEFA
ΔE00 8.13
Pastel Purple
#CAA0FF
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A1E5 #E0E5A1
analogous
#A1BEE5 #A6A1E5 #C8A1E5
triadic
#A6A1E5 #E5A6A1 #A1E5A6
tetradic
#A6A1E5 #E5A1BE #E0E5A1 #A1E5C8
square
#A6A1E5 #E5A1BE #E0E5A1 #A1E5C8
split-complementary
#A6A1E5 #E5C8A1 #BEE5A1
monochromatic
#4B41CA #7971D8 #A6A1E5 #D3D1F2 #E8E7F8
Accessibility & contrast
On white
2.37
#A6A1E5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.85
#A6A1E5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A1E5
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A1E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A1E5 | 1.00 | 2.37 | 8.85 | 8.85 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FAAE8
Deuteranopia (green-blind)
#8DA6E3
Tritanopia (blue-blind)
#97ADB9
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a6a1e5; /* rgb */ color: rgb(166, 161, 229); /* oklch */ color: oklch(73.9% 0.097 287.1);
Tailwind
colors: {
custom: {
50: '#c2bced',
500: '#a6a1e5',
950: '#000000',
},
}SCSS
$custom: #a6a1e5; $custom-light: #c2bced; $custom-dark: #000000;
JSON
{
"hex": "#a6a1e5",
"rgb": {
"r": 166,
"g": 161,
"b": 229
},
"hsl": {
"h": 244.412,
"s": 56.667,
"l": 76.471
},
"oklch": {
"l": 0.7385,
"c": 0.09745,
"h": 287.1
},
"luminance": 0.39254
}Semantic roles & 50–950 ramp
primary
#A6A1E5
secondary
#EEF0DB
accent
#C421B8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121216
muted
#818184