#A8A5DF#A8A5DF
#A8A5DF is a light, moderate blue. Relative luminance 0.406; OKLCH L 74.5% C 0.083 H 286.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A5DF |
|---|---|
| RGB | rgb(168, 165, 223) |
| HSL | hsl(243, 48%, 76%) |
| HSV | hsv(243, 26%, 87%) |
| CMYK | cmyk(24.7%, 26%, 0%, 12.5%) |
| CIE-LAB | lab(69.87, 13.48, -28.87) |
| CIE-LCH | lch(69.87, 31.86, 295.03°) |
| OKLab | oklab(74.53% 0.0237 -0.0796) |
| OKLCH | oklch(74.53% 0.083 286.6) |
| XYZ | xyz(42.9196, 40.5620, 75.3657) |
| Luminance | 0.4056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender
#B39DDB
ΔE00 4.90
Pale Violet
#CEAEFA
ΔE00 8.08
Lavender (survey)
#C79FEF
ΔE00 8.34
Light Periwinkle
#C1C6FC
ΔE00 8.50
Periwinkle Blue
#8F99FB
ΔE00 8.98
Perrywinkle
#8F8CE7
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A5DF #DCDFA5
analogous
#A5BFDF #A8A5DF #C5A5DF
triadic
#A8A5DF #DFA8A5 #A5DFA8
tetradic
#A8A5DF #DFA5BF #DCDFA5 #A5DFC5
square
#A8A5DF #DFA5BF #DCDFA5 #A5DFC5
split-complementary
#A8A5DF #DFC5A5 #BFDFA5
monochromatic
#514BBF #7C78CF #A8A5DF #D4D2EF #E9E8F7
Accessibility & contrast
On white
2.30
#A8A5DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#A8A5DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A5DF
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A5DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A5DF | 1.00 | 2.30 | 9.11 | 9.11 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#96ACE1
Deuteranopia (green-blind)
#95A9DD
Tritanopia (blue-blind)
#9CAFB9
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8a5df; /* rgb */ color: rgb(168, 165, 223); /* oklch */ color: oklch(74.5% 0.083 286.6);
Tailwind
colors: {
custom: {
50: '#c3bfe9',
500: '#a8a5df',
950: '#000000',
},
}SCSS
$custom: #a8a5df; $custom-light: #c3bfe9; $custom-dark: #000000;
JSON
{
"hex": "#a8a5df",
"rgb": {
"r": 168,
"g": 165,
"b": 223
},
"hsl": {
"h": 243.103,
"s": 47.541,
"l": 76.078
},
"oklch": {
"l": 0.74532,
"c": 0.08303,
"h": 286.6
},
"luminance": 0.40563
}Semantic roles & 50–950 ramp
primary
#A8A5DF
secondary
#EDEEDD
accent
#BB2BB3
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#121216
muted
#818184