#A8A2FF#A8A2FF
#A8A2FF is a light, vivid blue. Relative luminance 0.414; OKLCH L 75.4% C 0.132 H 285.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A2FF |
|---|---|
| RGB | rgb(168, 162, 255) |
| HSL | hsl(244, 100%, 82%) |
| HSV | hsv(244, 36%, 100%) |
| CMYK | cmyk(34.1%, 36.5%, 0%, 0%) |
| CIE-LAB | lab(70.44, 23.10, -45.43) |
| CIE-LCH | lch(70.44, 50.96, 296.96°) |
| OKLab | oklab(75.41% 0.0358 -0.1271) |
| OKLCH | oklch(75.41% 0.132 285.7) |
| XYZ | xyz(47.1139, 41.3841, 100.0940) |
| Luminance | 0.4138 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.00
Perrywinkle
#8F8CE7
ΔE00 6.88
Pastel Purple
#CAA0FF
ΔE00 7.89
Lavender Blue
#8B88F8
ΔE00 7.91
Lavender
#B39DDB
ΔE00 8.51
Lilac (survey)
#CEA2FD
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A2FF #F9FFA2
analogous
#A2CBFF #A8A2FF #D7A2FF
triadic
#A8A2FF #FFA8A2 #A2FFA8
tetradic
#A8A2FF #FFA2CB #F9FFA2 #A2FFD7
square
#A8A2FF #FFA2CB #F9FFA2 #A2FFD7
split-complementary
#A8A2FF #FFD7A2 #CBFFA2
monochromatic
#3528FF #6F65FF #A8A2FF #E1DFFF #E2E0FF
Accessibility & contrast
On white
2.26
#A8A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#A8A2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A2FF
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A2FF | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85AFFF
Deuteranopia (green-blind)
#83AAFD
Tritanopia (blue-blind)
#91B3C5
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a8a2ff; /* rgb */ color: rgb(168, 162, 255); /* oklch */ color: oklch(75.4% 0.132 285.7);
Tailwind
colors: {
custom: {
50: '#c4bdff',
500: '#a8a2ff',
950: '#000000',
},
}SCSS
$custom: #a8a2ff; $custom-light: #c4bdff; $custom-dark: #000000;
JSON
{
"hex": "#a8a2ff",
"rgb": {
"r": 168,
"g": 162,
"b": 255
},
"hsl": {
"h": 243.871,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.75412,
"c": 0.13208,
"h": 285.7
},
"luminance": 0.41385
}Semantic roles & 50–950 ramp
primary
#A8A2FF
secondary
#F5F7D4
accent
#E600D7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186