#A8A7FF#A8A7FF
#A8A7FF is a light, vivid blue. Relative luminance 0.432; OKLCH L 76.4% C 0.125 H 283.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A7FF |
|---|---|
| RGB | rgb(168, 167, 255) |
| HSL | hsl(241, 100%, 83%) |
| HSV | hsv(241, 35%, 100%) |
| CMYK | cmyk(34.1%, 34.5%, 0%, 0%) |
| CIE-LAB | lab(71.68, 20.29, -43.49) |
| CIE-LCH | lch(71.68, 47.99, 295.01°) |
| OKLab | oklab(76.36% 0.0293 -0.1215) |
| OKLCH | oklch(76.36% 0.125 283.5) |
| XYZ | xyz(48.0122, 43.1808, 100.3934) |
| Luminance | 0.4318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.33
Perrywinkle
#8F8CE7
ΔE00 7.87
Pastel Blue
#A2BFFE
ΔE00 8.08
Pastel Purple
#CAA0FF
ΔE00 8.69
Lavender
#B39DDB
ΔE00 8.92
Lavender Blue
#8B88F8
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A7FF #FEFFA7
analogous
#A7D2FF #A8A7FF #D4A7FF
triadic
#A8A7FF #FFA8A7 #A7FFA8
tetradic
#A8A7FF #FFA7D2 #FEFFA7 #A7FFD4
square
#A8A7FF #FFA7D2 #FEFFA7 #A7FFD4
split-complementary
#A8A7FF #FFD4A7 #D2FFA7
monochromatic
#2F2DFF #6B6AFF #A8A7FF #E1E0FF #E1E0FF
Accessibility & contrast
On white
2.18
#A8A7FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.64
#A8A7FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A7FF
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A7FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A7FF | 1.00 | 2.18 | 9.64 | 9.64 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#89ADFD
Tritanopia (blue-blind)
#91B8C7
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a8a7ff; /* rgb */ color: rgb(168, 167, 255); /* oklch */ color: oklch(76.4% 0.125 283.5);
Tailwind
colors: {
custom: {
50: '#c4c1ff',
500: '#a8a7ff',
950: '#000000',
},
}SCSS
$custom: #a8a7ff; $custom-light: #c4c1ff; $custom-dark: #000000;
JSON
{
"hex": "#a8a7ff",
"rgb": {
"r": 168,
"g": 167,
"b": 255
},
"hsl": {
"h": 240.682,
"s": 100,
"l": 82.745
},
"oklch": {
"l": 0.76357,
"c": 0.12502,
"h": 283.5
},
"luminance": 0.43182
}Semantic roles & 50–950 ramp
primary
#A8A7FF
secondary
#F7F7D4
accent
#E600E3
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186