#A8A1E6#A8A1E6
#A8A1E6 is a light, moderate blue. Relative luminance 0.395; OKLCH L 74.1% C 0.099 H 288.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A1E6 |
|---|---|
| RGB | rgb(168, 161, 230) |
| HSL | hsl(246, 58%, 77%) |
| HSV | hsv(246, 30%, 90%) |
| CMYK | cmyk(27%, 30%, 0%, 9.8%) |
| CIE-LAB | lab(69.13, 17.41, -33.84) |
| CIE-LCH | lch(69.13, 38.06, 297.21°) |
| OKLab | oklab(74.05% 0.0312 -0.0938) |
| OKLCH | oklch(74.05% 0.099 288.4) |
| XYZ | xyz(43.1727, 39.5269, 80.2024) |
| Luminance | 0.3953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 4.73
Lavender (survey)
#C79FEF
ΔE00 7.40
Perrywinkle
#8F8CE7
ΔE00 7.43
Periwinkle Blue
#8F99FB
ΔE00 7.59
Pale Violet
#CEAEFA
ΔE00 7.68
Pastel Purple
#CAA0FF
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A1E6 #DFE6A1
analogous
#A1BDE6 #A8A1E6 #CBA1E6
triadic
#A8A1E6 #E6A8A1 #A1E6A8
tetradic
#A8A1E6 #E6A1BD #DFE6A1 #A1E6CB
square
#A8A1E6 #E6A1BD #DFE6A1 #A1E6CB
split-complementary
#A8A1E6 #E6CBA1 #BDE6A1
monochromatic
#4F40CC #7B71D9 #A8A1E6 #D5D1F3 #E9E7F9
Accessibility & contrast
On white
2.36
#A8A1E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#A8A1E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A1E6
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A1E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A1E6 | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FAAE9
Deuteranopia (green-blind)
#8EA7E4
Tritanopia (blue-blind)
#9AADBA
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a8a1e6; /* rgb */ color: rgb(168, 161, 230); /* oklch */ color: oklch(74.1% 0.099 288.4);
Tailwind
colors: {
custom: {
50: '#c3bcee',
500: '#a8a1e6',
950: '#000000',
},
}SCSS
$custom: #a8a1e6; $custom-light: #c3bcee; $custom-dark: #000000;
JSON
{
"hex": "#a8a1e6",
"rgb": {
"r": 168,
"g": 161,
"b": 230
},
"hsl": {
"h": 246.087,
"s": 57.983,
"l": 76.667
},
"oklch": {
"l": 0.74054,
"c": 0.0988,
"h": 288.4
},
"luminance": 0.39528
}Semantic roles & 50–950 ramp
primary
#A8A1E6
secondary
#EEF0DB
accent
#C620B5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184