#A8A5FA#A8A5FA
#A8A5FA is a light, vivid blue. Relative luminance 0.421; OKLCH L 75.7% C 0.121 H 284.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A5FA |
|---|---|
| RGB | rgb(168, 165, 250) |
| HSL | hsl(242, 89%, 81%) |
| HSV | hsv(242, 34%, 98%) |
| CMYK | cmyk(32.8%, 34%, 0%, 2%) |
| CIE-LAB | lab(70.96, 20.13, -41.90) |
| CIE-LCH | lch(70.96, 46.48, 295.66°) |
| OKLab | oklab(75.74% 0.0308 -0.1169) |
| OKLCH | oklch(75.74% 0.121 284.7) |
| XYZ | xyz(46.8542, 42.1359, 96.0883) |
| Luminance | 0.4214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.45
Perrywinkle
#8F8CE7
ΔE00 7.38
Lavender
#B39DDB
ΔE00 8.02
Pastel Purple
#CAA0FF
ΔE00 8.20
Pale Violet
#CEAEFA
ΔE00 8.66
Lavender Blue
#8B88F8
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A5FA #F7FAA5
analogous
#A5CDFA #A8A5FA #D3A5FA
triadic
#A8A5FA #FAA8A5 #A5FAA8
tetradic
#A8A5FA #FAA5CD #F7FAA5 #A5FAD3
square
#A8A5FA #FAA5CD #F7FAA5 #A5FAD3
split-complementary
#A8A5FA #FAD3A5 #CDFAA5
monochromatic
#3831F4 #706BF7 #A8A5FA #E0DFFD #E3E2FD
Accessibility & contrast
On white
2.23
#A8A5FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#A8A5FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A5FA
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A5FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A5FA | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BB0FD
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#93B5C4
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a8a5fa; /* rgb */ color: rgb(168, 165, 250); /* oklch */ color: oklch(75.7% 0.121 284.7);
Tailwind
colors: {
custom: {
50: '#c4bffc',
500: '#a8a5fa',
950: '#000000',
},
}SCSS
$custom: #a8a5fa; $custom-light: #c4bffc; $custom-dark: #000000;
JSON
{
"hex": "#a8a5fa",
"rgb": {
"r": 168,
"g": 165,
"b": 250
},
"hsl": {
"h": 242.118,
"s": 89.474,
"l": 81.373
},
"oklch": {
"l": 0.75739,
"c": 0.12091,
"h": 284.7
},
"luminance": 0.42137
}Semantic roles & 50–950 ramp
primary
#A8A5FA
secondary
#F4F5D6
accent
#E600DD
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185