#A8A2FE#A8A2FE
#A8A2FE is a light, vivid blue. Relative luminance 0.413; OKLCH L 75.4% C 0.131 H 285.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A2FE |
|---|---|
| RGB | rgb(168, 162, 254) |
| HSL | hsl(244, 98%, 82%) |
| HSV | hsv(244, 36%, 100%) |
| CMYK | cmyk(33.9%, 36.2%, 0%, 0.4%) |
| CIE-LAB | lab(70.40, 22.85, -44.95) |
| CIE-LCH | lch(70.40, 50.43, 296.94°) |
| OKLab | oklab(75.36% 0.0356 -0.1258) |
| OKLCH | oklch(75.36% 0.131 285.8) |
| XYZ | xyz(46.9533, 41.3199, 99.2484) |
| Luminance | 0.4132 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.05
Perrywinkle
#8F8CE7
ΔE00 6.85
Pastel Purple
#CAA0FF
ΔE00 7.85
Lavender Blue
#8B88F8
ΔE00 7.95
Lavender
#B39DDB
ΔE00 8.37
Lilac (survey)
#CEA2FD
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A2FE #F8FEA2
analogous
#A2CAFE #A8A2FE #D6A2FE
triadic
#A8A2FE #FEA8A2 #A2FEA8
tetradic
#A8A2FE #FEA2CA #F8FEA2 #A2FED6
square
#A8A2FE #FEA2CA #F8FEA2 #A2FED6
split-complementary
#A8A2FE #FED6A2 #CAFEA2
monochromatic
#3729FD #6F65FD #A8A2FE #E1DFFF #E3E1FF
Accessibility & contrast
On white
2.27
#A8A2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#A8A2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A2FE
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A2FE | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#84AAFC
Tritanopia (blue-blind)
#92B3C4
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a8a2fe; /* rgb */ color: rgb(168, 162, 254); /* oklch */ color: oklch(75.4% 0.131 285.8);
Tailwind
colors: {
custom: {
50: '#c4bdff',
500: '#a8a2fe',
950: '#000000',
},
}SCSS
$custom: #a8a2fe; $custom-light: #c4bdff; $custom-dark: #000000;
JSON
{
"hex": "#a8a2fe",
"rgb": {
"r": 168,
"g": 162,
"b": 254
},
"hsl": {
"h": 243.913,
"s": 97.872,
"l": 81.569
},
"oklch": {
"l": 0.75363,
"c": 0.1307,
"h": 285.8
},
"luminance": 0.41321
}Semantic roles & 50–950 ramp
primary
#A8A2FE
secondary
#F5F7D4
accent
#E600D7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186