#A8A2EB#A8A2EB
#A8A2EB is a light, moderate blue. Relative luminance 0.402; OKLCH L 74.5% C 0.104 H 287.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A2EB |
|---|---|
| RGB | rgb(168, 162, 235) |
| HSL | hsl(245, 65%, 78%) |
| HSV | hsv(245, 31%, 92%) |
| CMYK | cmyk(28.5%, 31.1%, 0%, 7.8%) |
| CIE-LAB | lab(69.59, 18.06, -35.88) |
| CIE-LCH | lch(69.59, 40.17, 296.73°) |
| OKLab | oklab(74.47% 0.0311 -0.0996) |
| OKLCH | oklch(74.47% 0.104 287.3) |
| XYZ | xyz(44.0603, 40.1627, 84.0120) |
| Luminance | 0.4016 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 5.55
Periwinkle Blue
#8F99FB
ΔE00 6.88
Perrywinkle
#8F8CE7
ΔE00 7.21
Lavender (survey)
#C79FEF
ΔE00 7.69
Pastel Purple
#CAA0FF
ΔE00 7.74
Pale Violet
#CEAEFA
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A2EB #E5EBA2
analogous
#A2C0EB #A8A2EB #CDA2EB
triadic
#A8A2EB #EBA8A2 #A2EBA8
tetradic
#A8A2EB #EBA2C0 #E5EBA2 #A2EBCD
square
#A8A2EB #EBA2C0 #E5EBA2 #A2EBCD
split-complementary
#A8A2EB #EBCDA2 #C0EBA2
monochromatic
#4A3DD5 #7970E0 #A8A2EB #D7D4F6 #E7E6FA
Accessibility & contrast
On white
2.32
#A8A2EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#A8A2EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A2EB
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A2EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A2EB | 1.00 | 2.32 | 9.03 | 9.03 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#8DA8E9
Tritanopia (blue-blind)
#98AFBC
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a8a2eb; /* rgb */ color: rgb(168, 162, 235); /* oklch */ color: oklch(74.5% 0.104 287.3);
Tailwind
colors: {
custom: {
50: '#c3bdf1',
500: '#a8a2eb',
950: '#000000',
},
}SCSS
$custom: #a8a2eb; $custom-light: #c3bdf1; $custom-dark: #000000;
JSON
{
"hex": "#a8a2eb",
"rgb": {
"r": 168,
"g": 162,
"b": 235
},
"hsl": {
"h": 244.932,
"s": 64.602,
"l": 77.843
},
"oklch": {
"l": 0.7447,
"c": 0.10433,
"h": 287.3
},
"luminance": 0.40164
}Semantic roles & 50–950 ramp
primary
#A8A2EB
secondary
#EFF1DA
accent
#CC19BE
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185