#A5A2FA#A5A2FA
#A5A2FA is a light, vivid blue. Relative luminance 0.407; OKLCH L 74.9% C 0.125 H 284.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A2FA |
|---|---|
| RGB | rgb(165, 162, 250) |
| HSL | hsl(242, 90%, 81%) |
| HSV | hsv(242, 35%, 98%) |
| CMYK | cmyk(34%, 35.2%, 0%, 2%) |
| CIE-LAB | lab(69.99, 21.01, -43.43) |
| CIE-LCH | lch(69.99, 48.25, 295.81°) |
| OKLab | oklab(74.94% 0.0314 -0.1214) |
| OKLCH | oklch(74.94% 0.125 284.5) |
| XYZ | xyz(45.6880, 40.7407, 95.8805) |
| Luminance | 0.4074 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 4.67
Perrywinkle
#8F8CE7
ΔE00 6.57
Lavender Blue
#8B88F8
ΔE00 7.85
Lavender
#B39DDB
ΔE00 8.30
Pastel Purple
#CAA0FF
ΔE00 8.43
Pastel Blue
#A2BFFE
ΔE00 9.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A2FA #F7FAA2
analogous
#A2CBFA #A5A2FA #D1A2FA
triadic
#A5A2FA #FAA5A2 #A2FAA5
tetradic
#A5A2FA #FAA2CB #F7FAA2 #A2FAD1
square
#A5A2FA #FAA2CB #F7FAA2 #A2FAD1
split-complementary
#A5A2FA #FAD1A2 #CBFAA2
monochromatic
#352EF4 #6D68F7 #A5A2FA #DDDCFD #E3E2FD
Accessibility & contrast
On white
2.30
#A5A2FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#A5A2FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A2FA
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A2FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A2FA | 1.00 | 2.30 | 9.15 | 9.15 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87AEFE
Deuteranopia (green-blind)
#84A8F8
Tritanopia (blue-blind)
#8FB2C2
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a5a2fa; /* rgb */ color: rgb(165, 162, 250); /* oklch */ color: oklch(74.9% 0.125 284.5);
Tailwind
colors: {
custom: {
50: '#c2bdfc',
500: '#a5a2fa',
950: '#000000',
},
}SCSS
$custom: #a5a2fa; $custom-light: #c2bdfc; $custom-dark: #000000;
JSON
{
"hex": "#a5a2fa",
"rgb": {
"r": 165,
"g": 162,
"b": 250
},
"hsl": {
"h": 242.045,
"s": 89.796,
"l": 80.784
},
"oklch": {
"l": 0.74937,
"c": 0.12542,
"h": 284.5
},
"luminance": 0.40742
}Semantic roles & 50–950 ramp
primary
#A5A2FA
secondary
#F4F6D5
accent
#E600DE
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185