#A8A2E7#A8A2E7
#A8A2E7 is a light, moderate blue. Relative luminance 0.399; OKLCH L 74.3% C 0.099 H 287.7°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A2E7 |
|---|---|
| RGB | rgb(168, 162, 231) |
| HSL | hsl(245, 59%, 77%) |
| HSV | hsv(245, 30%, 91%) |
| CMYK | cmyk(27.3%, 29.9%, 0%, 9.4%) |
| CIE-LAB | lab(69.42, 17.09, -33.94) |
| CIE-LCH | lch(69.42, 38.00, 296.72°) |
| OKLab | oklab(74.29% 0.0301 -0.094) |
| OKLCH | oklch(74.29% 0.099 287.7) |
| XYZ | xyz(43.4889, 39.9341, 81.0026) |
| Luminance | 0.3993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 5.00
Periwinkle Blue
#8F99FB
ΔE00 7.47
Perrywinkle
#8F8CE7
ΔE00 7.53
Lavender (survey)
#C79FEF
ΔE00 7.59
Pale Violet
#CEAEFA
ΔE00 7.72
Pastel Purple
#CAA0FF
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A2E7 #E1E7A2
analogous
#A2BFE7 #A8A2E7 #CAA2E7
triadic
#A8A2E7 #E7A8A2 #A2E7A8
tetradic
#A8A2E7 #E7A2BF #E1E7A2 #A2E7CA
square
#A8A2E7 #E7A2BF #E1E7A2 #A2E7CA
split-complementary
#A8A2E7 #E7CAA2 #BFE7A2
monochromatic
#4D41CE #7A71DA #A8A2E7 #D6D3F4 #E8E7F9
Accessibility & contrast
On white
2.34
#A8A2E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#A8A2E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A2E7
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A2E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A2E7 | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FABEA
Deuteranopia (green-blind)
#8FA8E5
Tritanopia (blue-blind)
#9AAEBB
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a8a2e7; /* rgb */ color: rgb(168, 162, 231); /* oklch */ color: oklch(74.3% 0.099 287.7);
Tailwind
colors: {
custom: {
50: '#c3bdef',
500: '#a8a2e7',
950: '#000000',
},
}SCSS
$custom: #a8a2e7; $custom-light: #c3bdef; $custom-dark: #000000;
JSON
{
"hex": "#a8a2e7",
"rgb": {
"r": 168,
"g": 162,
"b": 231
},
"hsl": {
"h": 245.217,
"s": 58.974,
"l": 77.059
},
"oklch": {
"l": 0.74291,
"c": 0.09872,
"h": 287.7
},
"luminance": 0.39935
}Semantic roles & 50–950 ramp
primary
#A8A2E7
secondary
#EEF0DB
accent
#C71FB8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184