#A5A2EA#A5A2EA
#A5A2EA is a light, moderate blue. Relative luminance 0.398; OKLCH L 74.2% C 0.103 H 285.5°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A2EA |
|---|---|
| RGB | rgb(165, 162, 234) |
| HSL | hsl(243, 63%, 78%) |
| HSV | hsv(243, 31%, 92%) |
| CMYK | cmyk(29.5%, 30.8%, 0%, 8.2%) |
| CIE-LAB | lab(69.31, 16.96, -35.77) |
| CIE-LCH | lch(69.31, 39.59, 295.36°) |
| OKLab | oklab(74.19% 0.0276 -0.0993) |
| OKLCH | oklch(74.19% 0.103 285.5) |
| XYZ | xyz(43.2848, 39.7795, 83.2236) |
| Luminance | 0.3978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 6.10
Periwinkle Blue
#8F99FB
ΔE00 6.39
Perrywinkle
#8F8CE7
ΔE00 6.94
Lavender (survey)
#C79FEF
ΔE00 8.42
Pastel Purple
#CAA0FF
ΔE00 8.44
Pale Violet
#CEAEFA
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A2EA #E7EAA2
analogous
#A2C3EA #A5A2EA #C9A2EA
triadic
#A5A2EA #EAA5A2 #A2EAA5
tetradic
#A5A2EA #EAA2C3 #E7EAA2 #A2EAC9
square
#A5A2EA #EAA2C3 #E7EAA2 #A2EAC9
split-complementary
#A5A2EA #EAC9A2 #C3EAA2
monochromatic
#443ED3 #7570DF #A5A2EA #D5D4F5 #E7E6F9
Accessibility & contrast
On white
2.34
#A5A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#A5A2EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A2EA
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A2EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A2EA | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EABED
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#94AFBC
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a5a2ea; /* rgb */ color: rgb(165, 162, 234); /* oklch */ color: oklch(74.2% 0.103 285.5);
Tailwind
colors: {
custom: {
50: '#c1bdf1',
500: '#a5a2ea',
950: '#000000',
},
}SCSS
$custom: #a5a2ea; $custom-light: #c1bdf1; $custom-dark: #000000;
JSON
{
"hex": "#a5a2ea",
"rgb": {
"r": 165,
"g": 162,
"b": 234
},
"hsl": {
"h": 242.5,
"s": 63.158,
"l": 77.647
},
"oklch": {
"l": 0.74189,
"c": 0.10309,
"h": 285.5
},
"luminance": 0.39781
}Semantic roles & 50–950 ramp
primary
#A5A2EA
secondary
#F0F1DA
accent
#CB1BC4
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121216
muted
#818184