#8A7FA5#8A7FA5
#8A7FA5 is a mid, muted violet. Relative luminance 0.233; OKLCH L 62.0% C 0.058 H 298.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7FA5 |
|---|---|
| RGB | rgb(138, 127, 165) |
| HSL | hsl(257, 17%, 57%) |
| HSV | hsv(257, 23%, 65%) |
| CMYK | cmyk(16.4%, 23%, 0%, 35.3%) |
| CIE-LAB | lab(55.38, 12.10, -18.70) |
| CIE-LCH | lch(55.38, 22.27, 302.90°) |
| OKLab | oklab(62% 0.0271 -0.0511) |
| OKLCH | oklch(62% 0.058 298) |
| XYZ | xyz(24.8607, 23.2985, 38.7773) |
| Luminance | 0.2330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Greyish Purple
#887191
ΔE00 6.41
Purpley Grey
#947E94
ΔE00 6.79
Heather
#A484AC
ΔE00 7.01
Grey Purple
#826D8C
ΔE00 7.60
Faded Purple
#916E99
ΔE00 7.88
Purple Grey
#866F85
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7FA5 #9AA57F
analogous
#7F87A5 #8A7FA5 #9D7FA5
triadic
#8A7FA5 #A58A7F #7FA58A
tetradic
#8A7FA5 #A57F87 #9AA57F #7FA59D
square
#8A7FA5 #A57F87 #9AA57F #7FA59D
split-complementary
#8A7FA5 #A59D7F #87A57F
monochromatic
#4F4664 #6B5F88 #8A7FA5 #ABA3BE #CCC7D8
Accessibility & contrast
On white
3.71
#8A7FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#8A7FA5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7FA5
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7FA5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7FA5 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7785A7
Deuteranopia (green-blind)
#7984A4
Tritanopia (blue-blind)
#85858C
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a7fa5; /* rgb */ color: rgb(138, 127, 165); /* oklch */ color: oklch(62.0% 0.058 298.0);
Tailwind
colors: {
custom: {
50: '#aca4bf',
500: '#8a7fa5',
950: '#000000',
},
}SCSS
$custom: #8a7fa5; $custom-light: #aca4bf; $custom-dark: #000000;
JSON
{
"hex": "#8a7fa5",
"rgb": {
"r": 138,
"g": 127,
"b": 165
},
"hsl": {
"h": 257.368,
"s": 17.431,
"l": 57.255
},
"oklch": {
"l": 0.61995,
"c": 0.05781,
"h": 298
},
"luminance": 0.23299
}Semantic roles & 50–950 ramp
primary
#8A7FA5
secondary
#C3C8B8
accent
#BA6EA4
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#100F12
muted
#7F7F81