#A1A2EA#A1A2EA
#A1A2EA is a light, moderate blue. Relative luminance 0.394; OKLCH L 73.9% C 0.103 H 283.0°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A2EA |
|---|---|
| RGB | rgb(161, 162, 234) |
| HSL | hsl(239, 63%, 77%) |
| HSV | hsv(239, 31%, 92%) |
| CMYK | cmyk(31.2%, 30.8%, 0%, 8.2%) |
| CIE-LAB | lab(69.01, 15.82, -36.27) |
| CIE-LCH | lch(69.01, 39.57, 293.57°) |
| OKLab | oklab(73.88% 0.0232 -0.1008) |
| OKLCH | oklch(73.88% 0.103 283) |
| XYZ | xyz(42.4656, 39.3571, 83.1852) |
| Luminance | 0.3936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.58
Perrywinkle
#8F8CE7
ΔE00 6.61
Lavender
#B39DDB
ΔE00 7.06
Lavender Blue
#8B88F8
ΔE00 8.68
Pastel Blue
#A2BFFE
ΔE00 9.27
Pastel Purple
#CAA0FF
ΔE00 9.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A2EA #EAE9A1
analogous
#A1C7EA #A1A2EA #C4A1EA
triadic
#A1A2EA #EAA1A2 #A2EAA1
tetradic
#A1A2EA #EAA1C7 #EAE9A1 #A1EAC4
square
#A1A2EA #EAA1C7 #EAE9A1 #A1EAC4
split-complementary
#A1A2EA #EAC4A1 #C7EAA1
monochromatic
#3D3FD4 #6F71DF #A1A2EA #D3D3F5 #E6E6F9
Accessibility & contrast
On white
2.37
#A1A2EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#A1A2EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A2EA
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A2EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A2EA | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DABED
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#8FAFBC
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a1a2ea; /* rgb */ color: rgb(161, 162, 234); /* oklch */ color: oklch(73.9% 0.103 283.0);
Tailwind
colors: {
custom: {
50: '#bebdf1',
500: '#a1a2ea',
950: '#000000',
},
}SCSS
$custom: #a1a2ea; $custom-light: #bebdf1; $custom-dark: #000000;
JSON
{
"hex": "#a1a2ea",
"rgb": {
"r": 161,
"g": 162,
"b": 234
},
"hsl": {
"h": 239.178,
"s": 63.478,
"l": 77.451
},
"oklch": {
"l": 0.7388,
"c": 0.10346,
"h": 283
},
"luminance": 0.39358
}Semantic roles & 50–950 ramp
primary
#A1A2EA
secondary
#F1F1DA
accent
#C91ACB
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121216
muted
#818184