#A8A1EF#A8A1EF
#A8A1EF is a light, moderate blue. Relative luminance 0.400; OKLCH L 74.5% C 0.111 H 287.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A1EF |
|---|---|
| RGB | rgb(168, 161, 239) |
| HSL | hsl(245, 71%, 78%) |
| HSV | hsv(245, 33%, 94%) |
| CMYK | cmyk(29.7%, 32.6%, 0%, 6.3%) |
| CIE-LAB | lab(69.50, 19.62, -38.19) |
| CIE-LCH | lch(69.50, 42.94, 297.19°) |
| OKLab | oklab(74.46% 0.0335 -0.1062) |
| OKLCH | oklch(74.46% 0.111 287.5) |
| XYZ | xyz(44.4693, 40.0456, 87.0313) |
| Luminance | 0.4005 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 6.04
Periwinkle Blue
#8F99FB
ΔE00 6.33
Perrywinkle
#8F8CE7
ΔE00 6.78
Pastel Purple
#CAA0FF
ΔE00 7.48
Lavender (survey)
#C79FEF
ΔE00 7.71
Pale Violet
#CEAEFA
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A1EF #E8EFA1
analogous
#A1C1EF #A8A1EF #CFA1EF
triadic
#A8A1EF #EFA8A1 #A1EFA8
tetradic
#A8A1EF #EFA1C1 #E8EFA1 #A1EFCF
square
#A8A1EF #EFA1C1 #E8EFA1 #A1EFCF
split-complementary
#A8A1EF #EFCFA1 #C1EFA1
monochromatic
#4738DD #786DE6 #A8A1EF #D8D5F8 #E7E5FB
Accessibility & contrast
On white
2.33
#A8A1EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#A8A1EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A1EF
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A1EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A1EF | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#8AA8ED
Tritanopia (blue-blind)
#97AFBD
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8a1ef; /* rgb */ color: rgb(168, 161, 239); /* oklch */ color: oklch(74.5% 0.111 287.5);
Tailwind
colors: {
custom: {
50: '#c3bcf4',
500: '#a8a1ef',
950: '#000000',
},
}SCSS
$custom: #a8a1ef; $custom-light: #c3bcf4; $custom-dark: #000000;
JSON
{
"hex": "#a8a1ef",
"rgb": {
"r": 168,
"g": 161,
"b": 239
},
"hsl": {
"h": 245.385,
"s": 70.909,
"l": 78.431
},
"oklch": {
"l": 0.74461,
"c": 0.11138,
"h": 287.5
},
"luminance": 0.40047
}Semantic roles & 50–950 ramp
primary
#A8A1EF
secondary
#F0F2D9
accent
#D313C2
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185