#8A8AB1#8A8AB1
#8A8AB1 is a light, muted blue. Relative luminance 0.268; OKLCH L 64.8% C 0.058 H 284.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8AB1 |
|---|---|
| RGB | rgb(138, 138, 177) |
| HSL | hsl(240, 20%, 62%) |
| HSV | hsv(240, 22%, 69%) |
| CMYK | cmyk(22%, 22%, 0%, 30.6%) |
| CIE-LAB | lab(58.75, 8.53, -20.43) |
| CIE-LCH | lch(58.75, 22.15, 292.67°) |
| OKLab | oklab(64.75% 0.0147 -0.056) |
| OKLCH | oklch(64.75% 0.058 284.7) |
| XYZ | xyz(27.5036, 26.7541, 45.3015) |
| Luminance | 0.2676 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Heather
#A484AC
ΔE00 9.82
Purpley Grey
#947E94
ΔE00 10.27
Perrywinkle
#8F8CE7
ΔE00 10.52
Lavender
#B39DDB
ΔE00 10.64
Wisteria
#A87DC2
ΔE00 11.01
Greyish Purple
#887191
ΔE00 11.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8AB1 #B1B18A
analogous
#8A9EB1 #8A8AB1 #9E8AB1
triadic
#8A8AB1 #B18A8A #8AB18A
tetradic
#8A8AB1 #B18A9E #B1B18A #8AB19E
square
#8A8AB1 #B18A9E #B1B18A #8AB19E
split-complementary
#8A8AB1 #B19E8A #9EB18A
monochromatic
#4D4D74 #666698 #8A8AB1 #AFAFC9 #D3D3E2
Accessibility & contrast
On white
3.31
#8A8AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#8A8AB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8AB1
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8AB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8AB1 | 1.00 | 3.31 | 6.35 | 6.35 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#808EB3
Deuteranopia (green-blind)
#7F8CB0
Tritanopia (blue-blind)
#819197
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #8a8ab1; /* rgb */ color: rgb(138, 138, 177); /* oklch */ color: oklch(64.8% 0.058 284.7);
Tailwind
colors: {
custom: {
50: '#acacc8',
500: '#8a8ab1',
950: '#000000',
},
}SCSS
$custom: #8a8ab1; $custom-light: #acacc8; $custom-dark: #000000;
JSON
{
"hex": "#8a8ab1",
"rgb": {
"r": 138,
"g": 138,
"b": 177
},
"hsl": {
"h": 240,
"s": 20,
"l": 61.765
},
"oklch": {
"l": 0.64754,
"c": 0.0579,
"h": 284.7
},
"luminance": 0.26755
}Semantic roles & 50–950 ramp
primary
#8A8AB1
secondary
#D3D3C4
accent
#9E479E
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82