#A2A2FA#A2A2FA
#A2A2FA is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.7% C 0.126 H 282.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A2FA |
|---|---|
| RGB | rgb(162, 162, 250) |
| HSL | hsl(240, 90%, 81%) |
| HSV | hsv(240, 35%, 98%) |
| CMYK | cmyk(35.2%, 35.2%, 0%, 2%) |
| CIE-LAB | lab(69.77, 20.21, -43.80) |
| CIE-LCH | lch(69.77, 48.24, 294.77°) |
| OKLab | oklab(74.71% 0.0281 -0.1225) |
| OKLCH | oklch(74.71% 0.126 282.9) |
| XYZ | xyz(45.0711, 40.4227, 95.8516) |
| Luminance | 0.4042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 4.09
Perrywinkle
#8F8CE7
ΔE00 6.43
Lavender Blue
#8B88F8
ΔE00 7.63
Pastel Blue
#A2BFFE
ΔE00 8.80
Lavender
#B39DDB
ΔE00 8.84
Pastel Purple
#CAA0FF
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A2FA #FAFAA2
analogous
#A2CEFA #A2A2FA #CEA2FA
triadic
#A2A2FA #FAA2A2 #A2FAA2
tetradic
#A2A2FA #FAA2CE #FAFAA2 #A2FACE
square
#A2A2FA #FAA2CE #FAFAA2 #A2FACE
split-complementary
#A2A2FA #FACEA2 #CEFAA2
monochromatic
#2E2EF4 #6868F7 #A2A2FA #DCDCFD #E2E2FD
Accessibility & contrast
On white
2.31
#A2A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A2A2FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A2FA
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A2FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A2FA | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#8AB3C2
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2a2fa; /* rgb */ color: rgb(162, 162, 250); /* oklch */ color: oklch(74.7% 0.126 282.9);
Tailwind
colors: {
custom: {
50: '#c0bdfc',
500: '#a2a2fa',
950: '#000000',
},
}SCSS
$custom: #a2a2fa; $custom-light: #c0bdfc; $custom-dark: #000000;
JSON
{
"hex": "#a2a2fa",
"rgb": {
"r": 162,
"g": 162,
"b": 250
},
"hsl": {
"h": 240,
"s": 89.796,
"l": 80.784
},
"oklch": {
"l": 0.74709,
"c": 0.12574,
"h": 282.9
},
"luminance": 0.40424
}Semantic roles & 50–950 ramp
primary
#A2A2FA
secondary
#F6F6D5
accent
#E600E5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121217
muted
#818185