#A1A2EB#A1A2EB
#A1A2EB is a light, moderate blue. Relative luminance 0.394; OKLCH L 73.9% C 0.105 H 282.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A2EB |
|---|---|
| RGB | rgb(161, 162, 235) |
| HSL | hsl(239, 65%, 78%) |
| HSV | hsv(239, 31%, 92%) |
| CMYK | cmyk(31.5%, 31.1%, 0%, 7.8%) |
| CIE-LAB | lab(69.05, 16.07, -36.75) |
| CIE-LCH | lch(69.05, 40.11, 293.62°) |
| OKLab | oklab(73.93% 0.0235 -0.1022) |
| OKLCH | oklch(73.93% 0.105 282.9) |
| XYZ | xyz(42.6096, 39.4147, 83.9440) |
| Luminance | 0.3942 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.44
Perrywinkle
#8F8CE7
ΔE00 6.56
Lavender
#B39DDB
ΔE00 7.17
Lavender Blue
#8B88F8
ΔE00 8.58
Pastel Blue
#A2BFFE
ΔE00 9.21
Pastel Purple
#CAA0FF
ΔE00 9.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A2EB #EBEAA1
analogous
#A1C7EB #A1A2EB #C5A1EB
triadic
#A1A2EB #EBA1A2 #A2EBA1
tetradic
#A1A2EB #EBA1C7 #EBEAA1 #A1EBC5
square
#A1A2EB #EBA1C7 #EBEAA1 #A1EBC5
split-complementary
#A1A2EB #EBC5A1 #C7EBA1
monochromatic
#3C3ED6 #6F70E0 #A1A2EB #D3D4F6 #E6E6FA
Accessibility & contrast
On white
2.36
#A1A2EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#A1A2EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A2EB
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A2EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A2EB | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DABEE
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#8EAFBC
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a1a2eb; /* rgb */ color: rgb(161, 162, 235); /* oklch */ color: oklch(73.9% 0.105 282.9);
Tailwind
colors: {
custom: {
50: '#bebdf1',
500: '#a1a2eb',
950: '#000000',
},
}SCSS
$custom: #a1a2eb; $custom-light: #bebdf1; $custom-dark: #000000;
JSON
{
"hex": "#a1a2eb",
"rgb": {
"r": 161,
"g": 162,
"b": 235
},
"hsl": {
"h": 239.189,
"s": 64.912,
"l": 77.647
},
"oklch": {
"l": 0.73926,
"c": 0.10488,
"h": 282.9
},
"luminance": 0.39416
}Semantic roles & 50–950 ramp
primary
#A1A2EB
secondary
#F1F1DA
accent
#CA19CD
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121217
muted
#818185