#A8A1E9#A8A1E9
#A8A1E9 is a light, moderate blue. Relative luminance 0.397; OKLCH L 74.2% C 0.103 H 288.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A1E9 |
|---|---|
| RGB | rgb(168, 161, 233) |
| HSL | hsl(246, 62%, 77%) |
| HSV | hsv(246, 31%, 91%) |
| CMYK | cmyk(27.9%, 30.9%, 0%, 8.6%) |
| CIE-LAB | lab(69.25, 18.14, -35.30) |
| CIE-LCH | lch(69.25, 39.69, 297.19°) |
| OKLab | oklab(74.19% 0.032 -0.0979) |
| OKLCH | oklch(74.19% 0.103 288.1) |
| XYZ | xyz(43.5976, 39.6969, 82.4403) |
| Luminance | 0.3970 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 5.15
Periwinkle Blue
#8F99FB
ΔE00 7.14
Perrywinkle
#8F8CE7
ΔE00 7.16
Lavender (survey)
#C79FEF
ΔE00 7.46
Pastel Purple
#CAA0FF
ΔE00 7.65
Pale Violet
#CEAEFA
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A1E9 #E2E9A1
analogous
#A1BEE9 #A8A1E9 #CCA1E9
triadic
#A8A1E9 #E9A8A1 #A1E9A8
tetradic
#A8A1E9 #E9A1BE #E2E9A1 #A1E9CC
square
#A8A1E9 #E9A1BE #E2E9A1 #A1E9CC
split-complementary
#A8A1E9 #E9CCA1 #BEE9A1
monochromatic
#4C3ED2 #7A6FDD #A8A1E9 #D6D3F5 #E8E6F9
Accessibility & contrast
On white
2.35
#A8A1E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#A8A1E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A1E9
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A1E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A1E9 | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DABEC
Deuteranopia (green-blind)
#8DA7E7
Tritanopia (blue-blind)
#99AEBB
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a8a1e9; /* rgb */ color: rgb(168, 161, 233); /* oklch */ color: oklch(74.2% 0.103 288.1);
Tailwind
colors: {
custom: {
50: '#c3bcf0',
500: '#a8a1e9',
950: '#000000',
},
}SCSS
$custom: #a8a1e9; $custom-light: #c3bcf0; $custom-dark: #000000;
JSON
{
"hex": "#a8a1e9",
"rgb": {
"r": 168,
"g": 161,
"b": 233
},
"hsl": {
"h": 245.833,
"s": 62.069,
"l": 77.255
},
"oklch": {
"l": 0.74188,
"c": 0.10301,
"h": 288.1
},
"luminance": 0.39698
}Semantic roles & 50–950 ramp
primary
#A8A1E9
secondary
#EEF1DA
accent
#CA1CB9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184