#A2A2F9#A2A2F9
#A2A2F9 is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.7% C 0.124 H 283.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A2F9 |
|---|---|
| RGB | rgb(162, 162, 249) |
| HSL | hsl(240, 88%, 81%) |
| HSV | hsv(240, 35%, 98%) |
| CMYK | cmyk(34.9%, 34.9%, 0%, 2.4%) |
| CIE-LAB | lab(69.73, 19.95, -43.33) |
| CIE-LCH | lch(69.73, 47.70, 294.72°) |
| OKLab | oklab(74.66% 0.0279 -0.1212) |
| OKLCH | oklch(74.66% 0.124 283) |
| XYZ | xyz(44.9148, 40.3601, 95.0280) |
| Luminance | 0.4036 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 4.16
Perrywinkle
#8F8CE7
ΔE00 6.41
Lavender Blue
#8B88F8
ΔE00 7.67
Lavender
#B39DDB
ΔE00 8.71
Pastel Blue
#A2BFFE
ΔE00 8.82
Pastel Purple
#CAA0FF
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A2F9 #F9F9A2
analogous
#A2CDF9 #A2A2F9 #CDA2F9
triadic
#A2A2F9 #F9A2A2 #A2F9A2
tetradic
#A2A2F9 #F9A2CD #F9F9A2 #A2F9CD
square
#A2A2F9 #F9A2CD #F9F9A2 #A2F9CD
split-complementary
#A2A2F9 #F9CDA2 #CDF9A2
monochromatic
#2F2FF2 #6969F5 #A2A2F9 #DBDBFD #E2E2FD
Accessibility & contrast
On white
2.31
#A2A2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A2A2F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A2F9
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A2F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A2F9 | 1.00 | 2.31 | 9.07 | 9.07 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87ADFC
Deuteranopia (green-blind)
#83A8F7
Tritanopia (blue-blind)
#8BB2C2
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a2a2f9; /* rgb */ color: rgb(162, 162, 249); /* oklch */ color: oklch(74.7% 0.124 283.0);
Tailwind
colors: {
custom: {
50: '#c0bdfb',
500: '#a2a2f9',
950: '#000000',
},
}SCSS
$custom: #a2a2f9; $custom-light: #c0bdfb; $custom-dark: #000000;
JSON
{
"hex": "#a2a2f9",
"rgb": {
"r": 162,
"g": 162,
"b": 249
},
"hsl": {
"h": 240,
"s": 87.879,
"l": 80.588
},
"oklch": {
"l": 0.74661,
"c": 0.12434,
"h": 283
},
"luminance": 0.40362
}Semantic roles & 50–950 ramp
primary
#A2A2F9
secondary
#F5F5D6
accent
#E401E4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121217
muted
#818185