#A8A2EF#A8A2EF
#A8A2EF is a light, moderate blue. Relative luminance 0.404; OKLCH L 74.7% C 0.110 H 287.0°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A2EF |
|---|---|
| RGB | rgb(168, 162, 239) |
| HSL | hsl(245, 71%, 79%) |
| HSV | hsv(245, 32%, 94%) |
| CMYK | cmyk(29.7%, 32.2%, 0%, 6.3%) |
| CIE-LAB | lab(69.75, 19.05, -37.81) |
| CIE-LCH | lch(69.75, 42.33, 296.75°) |
| OKLab | oklab(74.65% 0.0321 -0.1051) |
| OKLCH | oklch(74.65% 0.11 287) |
| XYZ | xyz(44.6447, 40.3965, 87.0897) |
| Luminance | 0.4040 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 6.13
Periwinkle Blue
#8F99FB
ΔE00 6.36
Perrywinkle
#8F8CE7
ΔE00 6.97
Pastel Purple
#CAA0FF
ΔE00 7.64
Lavender (survey)
#C79FEF
ΔE00 7.85
Pale Violet
#CEAEFA
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A2EF #E9EFA2
analogous
#A2C2EF #A8A2EF #CEA2EF
triadic
#A8A2EF #EFA8A2 #A2EFA8
tetradic
#A8A2EF #EFA2C2 #E9EFA2 #A2EFCE
square
#A8A2EF #EFA2C2 #E9EFA2 #A2EFCE
split-complementary
#A8A2EF #EFCEA2 #C2EFA2
monochromatic
#463ADD #776EE6 #A8A2EF #D9D6F8 #E7E5FB
Accessibility & contrast
On white
2.31
#A8A2EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A8A2EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A2EF
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A2EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A2EF | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#8BA8ED
Tritanopia (blue-blind)
#97B0BE
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8a2ef; /* rgb */ color: rgb(168, 162, 239); /* oklch */ color: oklch(74.7% 0.110 287.0);
Tailwind
colors: {
custom: {
50: '#c3bdf4',
500: '#a8a2ef',
950: '#000000',
},
}SCSS
$custom: #a8a2ef; $custom-light: #c3bdf4; $custom-dark: #000000;
JSON
{
"hex": "#a8a2ef",
"rgb": {
"r": 168,
"g": 162,
"b": 239
},
"hsl": {
"h": 244.675,
"s": 70.642,
"l": 78.627
},
"oklch": {
"l": 0.74652,
"c": 0.10992,
"h": 287
},
"luminance": 0.40397
}Semantic roles & 50–950 ramp
primary
#A8A2EF
secondary
#F0F2D9
accent
#D313C4
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185