#8A799C#8A799C
#8A799C is a mid, muted violet. Relative luminance 0.215; OKLCH L 60.4% C 0.056 H 306.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8A799C |
|---|---|
| RGB | rgb(138, 121, 156) |
| HSL | hsl(269, 15%, 54%) |
| HSV | hsv(269, 22%, 61%) |
| CMYK | cmyk(11.5%, 22.4%, 0%, 38.8%) |
| CIE-LAB | lab(53.47, 13.57, -16.39) |
| CIE-LCH | lch(53.47, 21.28, 309.62°) |
| OKLab | oklab(60.41% 0.0334 -0.0446) |
| OKLCH | oklch(60.41% 0.056 306.8) |
| XYZ | xyz(23.3183, 21.4784, 34.3634) |
| Luminance | 0.2148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Greyish Purple
#887191
ΔE00 3.50
Grey Purple
#826D8C
ΔE00 4.88
Purpley Grey
#947E94
ΔE00 5.26
Faded Purple
#916E99
ΔE00 5.52
Purple Grey
#866F85
ΔE00 6.27
Heather
#A484AC
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A799C #8B9C79
analogous
#797A9C #8A799C #9C799C
triadic
#8A799C #9C8A79 #799C8A
tetradic
#8A799C #9C797A #8B9C79 #799C9C
square
#8A799C #9C797A #8B9C79 #799C9C
split-complementary
#8A799C #9C9C79 #7A9C79
monochromatic
#4D4259 #6B5C7C #8A799C #A99CB6 #C7BFD0
Accessibility & contrast
On white
3.97
#8A799C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#8A799C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A799C
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A799C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A799C | 1.00 | 3.97 | 5.30 | 5.30 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#737F9E
Deuteranopia (green-blind)
#76809B
Tritanopia (blue-blind)
#887E85
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #8a799c; /* rgb */ color: rgb(138, 121, 156); /* oklch */ color: oklch(60.4% 0.056 306.8);
Tailwind
colors: {
custom: {
50: '#ac9fb9',
500: '#8a799c',
950: '#000000',
},
}SCSS
$custom: #8a799c; $custom-light: #ac9fb9; $custom-dark: #000000;
JSON
{
"hex": "#8a799c",
"rgb": {
"r": 138,
"g": 121,
"b": 156
},
"hsl": {
"h": 269.143,
"s": 15.021,
"l": 54.314
},
"oklch": {
"l": 0.60409,
"c": 0.05566,
"h": 306.8
},
"luminance": 0.21478
}Semantic roles & 50–950 ramp
primary
#8A799C
secondary
#B9C0B1
accent
#B87095
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80