#8A8AB7#8A8AB7
#8A8AB7 is a light, moderate blue. Relative luminance 0.270; OKLCH L 65.0% C 0.067 H 284.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8AB7 |
|---|---|
| RGB | rgb(138, 138, 183) |
| HSL | hsl(240, 24%, 63%) |
| HSV | hsv(240, 25%, 72%) |
| CMYK | cmyk(24.6%, 24.6%, 0%, 28.2%) |
| CIE-LAB | lab(58.97, 9.99, -23.50) |
| CIE-LCH | lch(58.97, 25.53, 293.03°) |
| OKLab | oklab(65.01% 0.0166 -0.0647) |
| OKLCH | oklch(65.01% 0.067 284.4) |
| XYZ | xyz(28.1148, 26.9986, 48.5206) |
| Luminance | 0.2700 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 9.01
Lavender
#B39DDB
ΔE00 9.93
Heather
#A484AC
ΔE00 9.99
Wisteria
#A87DC2
ΔE00 10.45
Pale Purple
#B790D4
ΔE00 11.01
Purpley Grey
#947E94
ΔE00 11.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8AB7 #B7B78A
analogous
#8AA0B7 #8A8AB7 #A08AB7
triadic
#8A8AB7 #B78A8A #8AB78A
tetradic
#8A8AB7 #B78AA0 #B7B78A #8AB7A0
square
#8A8AB7 #B78AA0 #B7B78A #8AB7A0
split-complementary
#8A8AB7 #B7A08A #A0B78A
monochromatic
#4C4C7B #6464A0 #8A8AB7 #B0B0CE #D6D6E6
Accessibility & contrast
On white
3.28
#8A8AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#8A8AB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8AB7
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8AB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8AB7 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8FB9
Deuteranopia (green-blind)
#7D8DB6
Tritanopia (blue-blind)
#809299
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8a8ab7; /* rgb */ color: rgb(138, 138, 183); /* oklch */ color: oklch(65.0% 0.067 284.4);
Tailwind
colors: {
custom: {
50: '#adaccc',
500: '#8a8ab7',
950: '#000000',
},
}SCSS
$custom: #8a8ab7; $custom-light: #adaccc; $custom-dark: #000000;
JSON
{
"hex": "#8a8ab7",
"rgb": {
"r": 138,
"g": 138,
"b": 183
},
"hsl": {
"h": 240,
"s": 23.81,
"l": 62.941
},
"oklch": {
"l": 0.65005,
"c": 0.06676,
"h": 284.4
},
"luminance": 0.26999
}Semantic roles & 50–950 ramp
primary
#8A8AB7
secondary
#D6D6C6
accent
#A243A2
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101013
muted
#7F7F82