#A8A5FF#A8A5FF
#A8A5FF is a light, vivid blue. Relative luminance 0.425; OKLCH L 76.0% C 0.128 H 284.4°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A5FF |
|---|---|
| RGB | rgb(168, 165, 255) |
| HSL | hsl(242, 100%, 82%) |
| HSV | hsv(242, 35%, 100%) |
| CMYK | cmyk(34.1%, 35.3%, 0%, 0%) |
| CIE-LAB | lab(71.18, 21.41, -44.27) |
| CIE-LCH | lch(71.18, 49.17, 295.81°) |
| OKLab | oklab(75.98% 0.0319 -0.1238) |
| OKLCH | oklch(75.98% 0.128 284.4) |
| XYZ | xyz(47.6486, 42.4537, 100.2722) |
| Luminance | 0.4245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.16
Perrywinkle
#8F8CE7
ΔE00 7.45
Pastel Purple
#CAA0FF
ΔE00 8.34
Lavender Blue
#8B88F8
ΔE00 8.54
Pastel Blue
#A2BFFE
ΔE00 8.64
Lavender
#B39DDB
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A5FF #FCFFA5
analogous
#A5CFFF #A8A5FF #D5A5FF
triadic
#A8A5FF #FFA8A5 #A5FFA8
tetradic
#A8A5FF #FFA5CF #FCFFA5 #A5FFD5
square
#A8A5FF #FFA5CF #FCFFA5 #A5FFD5
split-complementary
#A8A5FF #FFD5A5 #CFFFA5
monochromatic
#322BFF #6D68FF #A8A5FF #E1E0FF #E1E0FF
Accessibility & contrast
On white
2.21
#A8A5FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#A8A5FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A5FF
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A5FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A5FF | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#86ACFD
Tritanopia (blue-blind)
#91B6C6
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a8a5ff; /* rgb */ color: rgb(168, 165, 255); /* oklch */ color: oklch(76.0% 0.128 284.4);
Tailwind
colors: {
custom: {
50: '#c4bfff',
500: '#a8a5ff',
950: '#000000',
},
}SCSS
$custom: #a8a5ff; $custom-light: #c4bfff; $custom-dark: #000000;
JSON
{
"hex": "#a8a5ff",
"rgb": {
"r": 168,
"g": 165,
"b": 255
},
"hsl": {
"h": 242,
"s": 100,
"l": 82.353
},
"oklch": {
"l": 0.75978,
"c": 0.12782,
"h": 284.4
},
"luminance": 0.42455
}Semantic roles & 50–950 ramp
primary
#A8A5FF
secondary
#F6F7D4
accent
#E600DE
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186