#A8A1FE#A8A1FE
#A8A1FE is a light, vivid blue. Relative luminance 0.410; OKLCH L 75.2% C 0.132 H 286.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A1FE |
|---|---|
| RGB | rgb(168, 161, 254) |
| HSL | hsl(245, 98%, 81%) |
| HSV | hsv(245, 37%, 100%) |
| CMYK | cmyk(33.9%, 36.6%, 0%, 0.4%) |
| CIE-LAB | lab(70.15, 23.41, -45.34) |
| CIE-LCH | lch(70.15, 51.02, 297.31°) |
| OKLab | oklab(75.18% 0.0369 -0.1269) |
| OKLCH | oklch(75.18% 0.132 286.2) |
| XYZ | xyz(46.7779, 40.9690, 99.1899) |
| Luminance | 0.4097 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.03
Perrywinkle
#8F8CE7
ΔE00 6.67
Pastel Purple
#CAA0FF
ΔE00 7.72
Lavender Blue
#8B88F8
ΔE00 7.75
Lavender
#B39DDB
ΔE00 8.32
Lilac (survey)
#CEA2FD
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A1FE #F7FEA1
analogous
#A1C9FE #A8A1FE #D7A1FE
triadic
#A8A1FE #FEA8A1 #A1FEA8
tetradic
#A8A1FE #FEA1C9 #F7FEA1 #A1FED7
square
#A8A1FE #FEA1C9 #F7FEA1 #A1FED7
split-complementary
#A8A1FE #FED7A1 #C9FEA1
monochromatic
#3828FD #7064FD #A8A1FE #E0DEFF #E3E1FF
Accessibility & contrast
On white
2.28
#A8A1FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#A8A1FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A1FE
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A1FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A1FE | 1.00 | 2.28 | 9.19 | 9.19 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#82A9FC
Tritanopia (blue-blind)
#92B2C4
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8a1fe; /* rgb */ color: rgb(168, 161, 254); /* oklch */ color: oklch(75.2% 0.132 286.2);
Tailwind
colors: {
custom: {
50: '#c4bcff',
500: '#a8a1fe',
950: '#000000',
},
}SCSS
$custom: #a8a1fe; $custom-light: #c4bcff; $custom-dark: #000000;
JSON
{
"hex": "#a8a1fe",
"rgb": {
"r": 168,
"g": 161,
"b": 254
},
"hsl": {
"h": 244.516,
"s": 97.895,
"l": 81.373
},
"oklch": {
"l": 0.75175,
"c": 0.13213,
"h": 286.2
},
"luminance": 0.4097
}Semantic roles & 50–950 ramp
primary
#A8A1FE
secondary
#F4F7D4
accent
#E600D4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186