#A8A8FF#A8A8FF
#A8A8FF is a light, vivid blue. Relative luminance 0.435; OKLCH L 76.5% C 0.124 H 283.1°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A8FF |
|---|---|
| RGB | rgb(168, 168, 255) |
| HSL | hsl(240, 100%, 83%) |
| HSV | hsv(240, 34%, 100%) |
| CMYK | cmyk(34.1%, 34.1%, 0%, 0%) |
| CIE-LAB | lab(71.93, 19.72, -43.10) |
| CIE-LCH | lch(71.93, 47.40, 294.59°) |
| OKLab | oklab(76.55% 0.028 -0.1204) |
| OKLCH | oklch(76.55% 0.124 283.1) |
| XYZ | xyz(48.1961, 43.5486, 100.4547) |
| Luminance | 0.4355 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 5.44
Pastel Blue
#A2BFFE
ΔE00 7.80
Perrywinkle
#8F8CE7
ΔE00 8.08
Light Periwinkle
#C1C6FC
ΔE00 8.76
Pastel Purple
#CAA0FF
ΔE00 8.88
Lavender
#B39DDB
ΔE00 9.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A8FF #FFFFA8
analogous
#A8D3FF #A8A8FF #D3A8FF
triadic
#A8A8FF #FFA8A8 #A8FFA8
tetradic
#A8A8FF #FFA8D3 #FFFFA8 #A8FFD3
square
#A8A8FF #FFA8D3 #FFFFA8 #A8FFD3
split-complementary
#A8A8FF #FFD3A8 #D3FFA8
monochromatic
#2E2EFF #6B6BFF #A8A8FF #E0E0FF #E0E0FF
Accessibility & contrast
On white
2.16
#A8A8FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#A8A8FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A8FF
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A8FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A8FF | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#8AADFD
Tritanopia (blue-blind)
#91B8C8
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a8a8ff; /* rgb */ color: rgb(168, 168, 255); /* oklch */ color: oklch(76.5% 0.124 283.1);
Tailwind
colors: {
custom: {
50: '#c4c1ff',
500: '#a8a8ff',
950: '#000000',
},
}SCSS
$custom: #a8a8ff; $custom-light: #c4c1ff; $custom-dark: #000000;
JSON
{
"hex": "#a8a8ff",
"rgb": {
"r": 168,
"g": 168,
"b": 255
},
"hsl": {
"h": 240,
"s": 100,
"l": 82.941
},
"oklch": {
"l": 0.76548,
"c": 0.12363,
"h": 283.1
},
"luminance": 0.4355
}Semantic roles & 50–950 ramp
primary
#A8A8FF
secondary
#F7F7D4
accent
#E600E5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186