#8A799E#8A799E
#8A799E is a mid, muted violet. Relative luminance 0.215; OKLCH L 60.5% C 0.058 H 305.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8A799E |
|---|---|
| RGB | rgb(138, 121, 158) |
| HSL | hsl(268, 16%, 55%) |
| HSV | hsv(268, 23%, 62%) |
| CMYK | cmyk(12.7%, 23.4%, 0%, 38%) |
| CIE-LAB | lab(53.54, 14.02, -17.44) |
| CIE-LCH | lch(53.54, 22.38, 308.78°) |
| OKLab | oklab(60.49% 0.034 -0.0475) |
| OKLCH | oklch(60.49% 0.058 305.6) |
| XYZ | xyz(23.4890, 21.5467, 35.2626) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Greyish Purple
#887191
ΔE00 3.81
Grey Purple
#826D8C
ΔE00 5.15
Faded Purple
#916E99
ΔE00 5.43
Purpley Grey
#947E94
ΔE00 5.79
Heather
#A484AC
ΔE00 6.71
Purple Grey
#866F85
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A799E #8D9E79
analogous
#797B9E #8A799E #9D799E
triadic
#8A799E #9E8A79 #799E8A
tetradic
#8A799E #9E797B #8D9E79 #799E9D
square
#8A799E #9E797B #8D9E79 #799E9D
split-complementary
#8A799E #9E9D79 #7B9E79
monochromatic
#4D425B #6B5B7E #8A799E #A99DB8 #C8C0D1
Accessibility & contrast
On white
3.96
#8A799E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#8A799E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A799E
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A799E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A799E | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#737FA0
Deuteranopia (green-blind)
#76809D
Tritanopia (blue-blind)
#877E86
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8a799e; /* rgb */ color: rgb(138, 121, 158); /* oklch */ color: oklch(60.5% 0.058 305.6);
Tailwind
colors: {
custom: {
50: '#ac9fba',
500: '#8a799e',
950: '#000000',
},
}SCSS
$custom: #8a799e; $custom-light: #ac9fba; $custom-dark: #000000;
JSON
{
"hex": "#8a799e",
"rgb": {
"r": 138,
"g": 121,
"b": 158
},
"hsl": {
"h": 267.568,
"s": 16.017,
"l": 54.706
},
"oklch": {
"l": 0.6049,
"c": 0.05843,
"h": 305.6
},
"luminance": 0.21547
}Semantic roles & 50–950 ramp
primary
#8A799E
secondary
#BAC1B2
accent
#B96F97
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80