#A5A5FA#A5A5FA
#A5A5FA is a light, vivid blue. Relative luminance 0.418; OKLCH L 75.5% C 0.121 H 283.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A5FA |
|---|---|
| RGB | rgb(165, 165, 250) |
| HSL | hsl(240, 89%, 81%) |
| HSV | hsv(240, 34%, 98%) |
| CMYK | cmyk(34%, 34%, 0%, 2%) |
| CIE-LAB | lab(70.74, 19.32, -42.27) |
| CIE-LCH | lch(70.74, 46.47, 294.56°) |
| OKLab | oklab(75.51% 0.0275 -0.118) |
| OKLCH | oklch(75.51% 0.121 283.1) |
| XYZ | xyz(46.2228, 41.8103, 96.0587) |
| Luminance | 0.4181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 4.90
Perrywinkle
#8F8CE7
ΔE00 7.22
Pastel Blue
#A2BFFE
ΔE00 8.32
Lavender Blue
#8B88F8
ΔE00 8.52
Lavender
#B39DDB
ΔE00 8.57
Pastel Purple
#CAA0FF
ΔE00 8.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A5FA #FAFAA5
analogous
#A5D0FA #A5A5FA #D0A5FA
triadic
#A5A5FA #FAA5A5 #A5FAA5
tetradic
#A5A5FA #FAA5D0 #FAFAA5 #A5FAD0
square
#A5A5FA #FAA5D0 #FAFAA5 #A5FAD0
split-complementary
#A5A5FA #FAD0A5 #D0FAA5
monochromatic
#3131F4 #6B6BF7 #A5A5FA #DFDFFD #E2E2FD
Accessibility & contrast
On white
2.24
#A5A5FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#A5A5FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A5FA
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A5FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A5FA | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BB0FD
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#8FB5C4
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a5a5fa; /* rgb */ color: rgb(165, 165, 250); /* oklch */ color: oklch(75.5% 0.121 283.1);
Tailwind
colors: {
custom: {
50: '#c2bffc',
500: '#a5a5fa',
950: '#000000',
},
}SCSS
$custom: #a5a5fa; $custom-light: #c2bffc; $custom-dark: #000000;
JSON
{
"hex": "#a5a5fa",
"rgb": {
"r": 165,
"g": 165,
"b": 250
},
"hsl": {
"h": 240,
"s": 89.474,
"l": 81.373
},
"oklch": {
"l": 0.7551,
"c": 0.12121,
"h": 283.1
},
"luminance": 0.41812
}Semantic roles & 50–950 ramp
primary
#A5A5FA
secondary
#F5F5D6
accent
#E600E5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185