#A5A2F9#A5A2F9
#A5A2F9 is a light, vivid blue. Relative luminance 0.407; OKLCH L 74.9% C 0.124 H 284.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A2F9 |
|---|---|
| RGB | rgb(165, 162, 249) |
| HSL | hsl(242, 88%, 81%) |
| HSV | hsv(242, 35%, 98%) |
| CMYK | cmyk(33.7%, 34.9%, 0%, 2.4%) |
| CIE-LAB | lab(69.95, 20.75, -42.96) |
| CIE-LCH | lch(69.95, 47.71, 295.78°) |
| OKLab | oklab(74.89% 0.0312 -0.12) |
| OKLCH | oklch(74.89% 0.124 284.6) |
| XYZ | xyz(45.5316, 40.6782, 95.0569) |
| Luminance | 0.4068 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 4.74
Perrywinkle
#8F8CE7
ΔE00 6.55
Lavender Blue
#8B88F8
ΔE00 7.90
Lavender
#B39DDB
ΔE00 8.16
Pastel Purple
#CAA0FF
ΔE00 8.40
Pale Violet
#CEAEFA
ΔE00 9.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A2F9 #F6F9A2
analogous
#A2CAF9 #A5A2F9 #D0A2F9
triadic
#A5A2F9 #F9A5A2 #A2F9A5
tetradic
#A5A2F9 #F9A2CA #F6F9A2 #A2F9D0
square
#A5A2F9 #F9A2CA #F6F9A2 #A2F9D0
split-complementary
#A5A2F9 #F9D0A2 #CAF9A2
monochromatic
#362FF2 #6D69F5 #A5A2F9 #DDDBFD #E3E2FD
Accessibility & contrast
On white
2.30
#A5A2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#A5A2F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A2F9
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A2F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A2F9 | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87AEFC
Deuteranopia (green-blind)
#85A8F7
Tritanopia (blue-blind)
#8FB2C2
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a5a2f9; /* rgb */ color: rgb(165, 162, 249); /* oklch */ color: oklch(74.9% 0.124 284.6);
Tailwind
colors: {
custom: {
50: '#c2bdfb',
500: '#a5a2f9',
950: '#000000',
},
}SCSS
$custom: #a5a2f9; $custom-light: #c2bdfb; $custom-dark: #000000;
JSON
{
"hex": "#a5a2f9",
"rgb": {
"r": 165,
"g": 162,
"b": 249
},
"hsl": {
"h": 242.069,
"s": 87.879,
"l": 80.588
},
"oklch": {
"l": 0.74889,
"c": 0.12403,
"h": 284.6
},
"luminance": 0.4068
}Semantic roles & 50–950 ramp
primary
#A5A2F9
secondary
#F4F5D6
accent
#E401DD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185