#8D799A#8D799A

#8D799A is a mid, muted violet. Relative luminance 0.217; OKLCH L 60.6% C 0.054 H 311.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8D799A
RGBrgb(141, 121, 154)
HSLhsl(276, 14%, 54%)
HSVhsv(276, 21%, 60%)
CMYKcmyk(8.4%, 21.4%, 0%, 39.6%)
CIE-LABlab(53.68, 14.17, -14.89)
CIE-LCHlch(53.68, 20.56, 313.59°)
OKLaboklab(60.61% 0.0362 -0.0403)
OKLCHoklch(60.61% 0.054 311.9)
XYZxyz(23.6536, 21.6708, 33.5024)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D799A #869A79
analogous
#7D799A #8D799A #9A7997
triadic
#8D799A #9A8D79 #799A8D
tetradic
#8D799A #9A7D79 #869A79 #79979A
square
#8D799A #9A7D79 #869A79 #79979A
split-complementary
#8D799A #979A79 #799A7D
monochromatic
#4F4257 #6E5C7A #8D799A #AB9CB4 #C8BFCF

Accessibility & contrast

On white

3.94
#8D799A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8D799A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D799A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D799A#FFFFFF#000000##000000
##8D799A1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#747F9B
Deuteranopia (green-blind)
#788199
Tritanopia (blue-blind)
#8C7D84
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d799a;
/* rgb */ color: rgb(141, 121, 154);
/* oklch */ color: oklch(60.6% 0.054 311.9);
Tailwind
colors: {
  custom: {
    50: '#ae9fb7',
    500: '#8d799a',
    950: '#000000',
  },
}
SCSS
$custom: #8d799a;
$custom-light: #ae9fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d799a",
  "rgb": {
    "r": 141,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 276.364,
    "s": 14.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.05422,
    "h": 311.9
  },
  "luminance": 0.21671
}

Semantic roles & 50–950 ramp

primary
#8D799A
secondary
#B6BEB0
accent
#B7718C
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8D799A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8D799A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva