#A4A2EB#A4A2EB
#A4A2EB is a light, moderate blue. Relative luminance 0.397; OKLCH L 74.2% C 0.105 H 284.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A2EB |
|---|---|
| RGB | rgb(164, 162, 235) |
| HSL | hsl(242, 65%, 78%) |
| HSV | hsv(242, 31%, 92%) |
| CMYK | cmyk(30.2%, 31.1%, 0%, 7.8%) |
| CIE-LAB | lab(69.28, 16.92, -36.38) |
| CIE-LCH | lch(69.28, 40.12, 294.95°) |
| OKLab | oklab(74.16% 0.0267 -0.1011) |
| OKLCH | oklch(74.16% 0.105 284.8) |
| XYZ | xyz(43.2216, 39.7302, 83.9726) |
| Luminance | 0.3973 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 6.04
Lavender
#B39DDB
ΔE00 6.46
Perrywinkle
#8F8CE7
ΔE00 6.78
Pastel Purple
#CAA0FF
ΔE00 8.64
Lavender (survey)
#C79FEF
ΔE00 8.71
Pale Violet
#CEAEFA
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A2EB #E9EBA2
analogous
#A2C4EB #A4A2EB #C8A2EB
triadic
#A4A2EB #EBA4A2 #A2EBA4
tetradic
#A4A2EB #EBA2C4 #E9EBA2 #A2EBC8
square
#A4A2EB #EBA2C4 #E9EBA2 #A2EBC8
split-complementary
#A4A2EB #EBC8A2 #C4EBA2
monochromatic
#413DD5 #7370E0 #A4A2EB #D5D4F6 #E6E6FA
Accessibility & contrast
On white
2.35
#A4A2EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#A4A2EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A2EB
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A2EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A2EB | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DABEE
Deuteranopia (green-blind)
#8BA7E9
Tritanopia (blue-blind)
#93AFBC
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a4a2eb; /* rgb */ color: rgb(164, 162, 235); /* oklch */ color: oklch(74.2% 0.105 284.8);
Tailwind
colors: {
custom: {
50: '#c0bdf1',
500: '#a4a2eb',
950: '#000000',
},
}SCSS
$custom: #a4a2eb; $custom-light: #c0bdf1; $custom-dark: #000000;
JSON
{
"hex": "#a4a2eb",
"rgb": {
"r": 164,
"g": 162,
"b": 235
},
"hsl": {
"h": 241.644,
"s": 64.602,
"l": 77.843
},
"oklch": {
"l": 0.74157,
"c": 0.10457,
"h": 284.8
},
"luminance": 0.39731
}Semantic roles & 50–950 ramp
primary
#A4A2EB
secondary
#F0F1DA
accent
#CC19C8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121217
muted
#818185