#A8A5FE#A8A5FE
#A8A5FE is a light, vivid blue. Relative luminance 0.424; OKLCH L 75.9% C 0.126 H 284.5°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A5FE |
|---|---|
| RGB | rgb(168, 165, 254) |
| HSL | hsl(242, 98%, 82%) |
| HSV | hsv(242, 35%, 100%) |
| CMYK | cmyk(33.9%, 35%, 0%, 0.4%) |
| CIE-LAB | lab(71.14, 21.15, -43.79) |
| CIE-LCH | lch(71.14, 48.64, 295.78°) |
| OKLab | oklab(75.93% 0.0317 -0.1224) |
| OKLCH | oklch(75.93% 0.126 284.5) |
| XYZ | xyz(47.4881, 42.3894, 99.4266) |
| Luminance | 0.4239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.20
Perrywinkle
#8F8CE7
ΔE00 7.43
Pastel Purple
#CAA0FF
ΔE00 8.31
Lavender Blue
#8B88F8
ΔE00 8.57
Lavender
#B39DDB
ΔE00 8.58
Pastel Blue
#A2BFFE
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A5FE #FBFEA5
analogous
#A5CFFE #A8A5FE #D4A5FE
triadic
#A8A5FE #FEA8A5 #A5FEA8
tetradic
#A8A5FE #FEA5CF #FBFEA5 #A5FED4
square
#A8A5FE #FEA5CF #FBFEA5 #A5FED4
split-complementary
#A8A5FE #FED4A5 #CFFEA5
monochromatic
#332CFD #6D68FD #A8A5FE #E2E1FF #E2E1FF
Accessibility & contrast
On white
2.22
#A8A5FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#A8A5FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A5FE
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A5FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A5FE | 1.00 | 2.22 | 9.48 | 9.48 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#87ABFC
Tritanopia (blue-blind)
#92B6C6
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a8a5fe; /* rgb */ color: rgb(168, 165, 254); /* oklch */ color: oklch(75.9% 0.126 284.5);
Tailwind
colors: {
custom: {
50: '#c4bfff',
500: '#a8a5fe',
950: '#000000',
},
}SCSS
$custom: #a8a5fe; $custom-light: #c4bfff; $custom-dark: #000000;
JSON
{
"hex": "#a8a5fe",
"rgb": {
"r": 168,
"g": 165,
"b": 254
},
"hsl": {
"h": 242.022,
"s": 97.802,
"l": 82.157
},
"oklch": {
"l": 0.75929,
"c": 0.12644,
"h": 284.5
},
"luminance": 0.42391
}Semantic roles & 50–950 ramp
primary
#A8A5FE
secondary
#F6F7D4
accent
#E600DE
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186