#8E799A#8E799A

#8E799A is a mid, muted violet. Relative luminance 0.218; OKLCH L 60.7% C 0.055 H 313.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8E799A
RGBrgb(142, 121, 154)
HSLhsl(278, 14%, 54%)
HSVhsv(278, 21%, 60%)
CMYKcmyk(7.8%, 21.4%, 0%, 39.6%)
CIE-LABlab(53.77, 14.52, -14.74)
CIE-LCHlch(53.77, 20.69, 314.58°)
OKLaboklab(60.71% 0.0374 -0.0399)
OKLCHoklch(60.71% 0.055 313.2)
XYZxyz(23.8245, 21.7589, 33.5104)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E799A #859A79
analogous
#7E799A #8E799A #9A7996
triadic
#8E799A #9A8E79 #799A8E
tetradic
#8E799A #9A7E79 #859A79 #79969A
square
#8E799A #9A7E79 #859A79 #79969A
split-complementary
#8E799A #969A79 #799A7E
monochromatic
#4F4257 #6F5C7A #8E799A #AB9CB4 #C9BFCF

Accessibility & contrast

On white

3.92
#8E799A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8E799A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E799A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E799A#FFFFFF#000000##000000
##8E799A1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e799a;
/* rgb */ color: rgb(142, 121, 154);
/* oklch */ color: oklch(60.7% 0.055 313.2);
Tailwind
colors: {
  custom: {
    50: '#af9fb7',
    500: '#8e799a',
    950: '#000000',
  },
}
SCSS
$custom: #8e799a;
$custom-light: #af9fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e799a",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 278.182,
    "s": 14.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.05471,
    "h": 313.2
  },
  "luminance": 0.21759
}

Semantic roles & 50–950 ramp

primary
#8E799A
secondary
#B5BEB0
accent
#B7718A
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #8E799A

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

Preview Lab → · Contrast checker → · Palette generator →

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