#8F798E#8F798E

#8F798E is a mid, muted purple. Relative luminance 0.215; OKLCH L 60.4% C 0.041 H 327.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8F798E
RGBrgb(143, 121, 142)
HSLhsl(303, 9%, 52%)
HSVhsv(303, 15%, 56%)
CMYKcmyk(0%, 15.4%, 0.7%, 43.9%)
CIE-LABlab(53.46, 12.40, -8.20)
CIE-LCHlch(53.46, 14.87, 326.52°)
OKLaboklab(60.35% 0.0344 -0.0219)
OKLCHoklch(60.35% 0.041 327.5)
XYZxyz(23.0470, 21.4678, 28.5155)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F798E #798F7A
analogous
#85798F #8F798E #8F7983
triadic
#8F798E #8E8F79 #798E8F
tetradic
#8F798E #8F8579 #798F7A #79838F
square
#8F798E #8F8579 #798F7A #79838F
split-complementary
#8F798E #838F79 #798F85
monochromatic
#4D404D #6E5C6E #8F798E #AB9AAA #C7BCC6

Accessibility & contrast

On white

3.97
#8F798E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8F798E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F798E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F798E#FFFFFF#000000##000000
##8F798E1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#787E8F
Deuteranopia (green-blind)
#7D818D
Tritanopia (blue-blind)
#917B80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f798e;
/* rgb */ color: rgb(143, 121, 142);
/* oklch */ color: oklch(60.4% 0.041 327.5);
Tailwind
colors: {
  custom: {
    50: '#b09faf',
    500: '#8f798e',
    950: '#000000',
  },
}
SCSS
$custom: #8f798e;
$custom-light: #b09faf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f798e",
  "rgb": {
    "r": 143,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 302.727,
    "s": 8.943,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.04073,
    "h": 327.5
  },
  "luminance": 0.21467
}

Semantic roles & 50–950 ramp

primary
#8F798E
secondary
#ADB7AE
accent
#B27976
background
#FAF9FA
surface
#F4F2F4
border
#CECCCE
text
#100E10
muted
#7F7E7F

Preview Lab

Preview with #8F798E

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

Preview Lab → · Contrast checker → · Palette generator →

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