#796179#796179

#796179 is a mid, muted purple. Relative luminance 0.140; OKLCH L 52.5% C 0.047 H 326.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#796179
RGBrgb(121, 97, 121)
HSLhsl(300, 11%, 43%)
HSVhsv(300, 20%, 47%)
CMYKcmyk(0%, 19.8%, 0%, 52.5%)
CIE-LABlab(44.23, 14.22, -9.78)
CIE-LCHlch(44.23, 17.26, 325.48°)
OKLaboklab(52.47% 0.0392 -0.0262)
OKLCHoklch(52.47% 0.047 326.2)
XYZxyz(15.6106, 13.9952, 19.9644)
Luminance0.1399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796179 #617961
analogous
#6D6179 #796179 #79616D
triadic
#796179 #797961 #617979
tetradic
#796179 #796D61 #617961 #616D79
square
#796179 #796D61 #617961 #616D79
split-complementary
#796179 #6D7961 #61796D
monochromatic
#352B35 #574657 #796179 #987F98 #B4A1B4

Accessibility & contrast

On white

5.53
#796179 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#796179 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796179
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796179#FFFFFF#000000##FFFFFF
##7961791.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60677A
Deuteranopia (green-blind)
#656A78
Tritanopia (blue-blind)
#7B6369
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #796179;
/* rgb */ color: rgb(121, 97, 121);
/* oklch */ color: oklch(52.5% 0.047 326.2);
Tailwind
colors: {
  custom: {
    50: '#a08e9f',
    500: '#796179',
    950: '#000000',
  },
}
SCSS
$custom: #796179;
$custom-light: #a08e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#796179",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 11.009,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52469,
    "c": 0.0472,
    "h": 326.2
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#796179
secondary
#93A393
accent
#B47474
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0C0E
muted
#7E7D7E

Preview Lab

Preview with #796179

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

Preview Lab → · Contrast checker → · Palette generator →

#796179 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva