#A2A2EF#A2A2EF
#A2A2EF is a light, moderate blue. Relative luminance 0.398; OKLCH L 74.2% C 0.110 H 283.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A2EF |
|---|---|
| RGB | rgb(162, 162, 239) |
| HSL | hsl(240, 71%, 79%) |
| HSV | hsv(240, 32%, 94%) |
| CMYK | cmyk(32.2%, 32.2%, 0%, 6.3%) |
| CIE-LAB | lab(69.29, 17.37, -38.55) |
| CIE-LCH | lch(69.29, 42.29, 294.25°) |
| OKLab | oklab(74.19% 0.0255 -0.1074) |
| OKLCH | oklch(74.19% 0.11 283.4) |
| XYZ | xyz(43.3964, 39.7528, 87.0312) |
| Luminance | 0.3975 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.12
Perrywinkle
#8F8CE7
ΔE00 6.46
Lavender
#B39DDB
ΔE00 7.43
Lavender Blue
#8B88F8
ΔE00 8.31
Pastel Purple
#CAA0FF
ΔE00 9.04
Pastel Blue
#A2BFFE
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A2EF #EFEFA2
analogous
#A2C8EF #A2A2EF #C8A2EF
triadic
#A2A2EF #EFA2A2 #A2EFA2
tetradic
#A2A2EF #EFA2C8 #EFEFA2 #A2EFC8
square
#A2A2EF #EFA2C8 #EFEFA2 #A2EFC8
split-complementary
#A2A2EF #EFC8A2 #C8EFA2
monochromatic
#3A3ADD #6E6EE6 #A2A2EF #D6D6F8 #E5E5FB
Accessibility & contrast
On white
2.35
#A2A2EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#A2A2EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A2EF
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A2EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A2EF | 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)
#8BACF2
Deuteranopia (green-blind)
#88A7ED
Tritanopia (blue-blind)
#8EB0BE
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a2a2ef; /* rgb */ color: rgb(162, 162, 239); /* oklch */ color: oklch(74.2% 0.110 283.4);
Tailwind
colors: {
custom: {
50: '#bfbdf4',
500: '#a2a2ef',
950: '#000000',
},
}SCSS
$custom: #a2a2ef; $custom-light: #bfbdf4; $custom-dark: #000000;
JSON
{
"hex": "#a2a2ef",
"rgb": {
"r": 162,
"g": 162,
"b": 239
},
"hsl": {
"h": 240,
"s": 70.642,
"l": 78.627
},
"oklch": {
"l": 0.74187,
"c": 0.11039,
"h": 283.4
},
"luminance": 0.39754
}Semantic roles & 50–950 ramp
primary
#A2A2EF
secondary
#F2F2D9
accent
#D313D3
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121217
muted
#818185