#796178#796178

#796178 is a mid, muted purple. Relative luminance 0.140; OKLCH L 52.4% C 0.046 H 327.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#796178
RGBrgb(121, 97, 120)
HSLhsl(303, 11%, 43%)
HSVhsv(303, 20%, 47%)
CMYKcmyk(0%, 19.8%, 0.8%, 52.5%)
CIE-LABlab(44.19, 14.02, -9.23)
CIE-LCHlch(44.19, 16.78, 326.63°)
OKLaboklab(52.43% 0.0389 -0.0247)
OKLCHoklch(52.43% 0.046 327.5)
XYZxyz(15.5496, 13.9708, 19.6432)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796178 #617962
analogous
#6E6179 #796178 #79616C
triadic
#796178 #787961 #617879
tetradic
#796178 #796E61 #617962 #616C79
square
#796178 #796E61 #617962 #616C79
split-complementary
#796178 #6C7961 #61796E
monochromatic
#352B35 #574656 #796178 #987F97 #B4A1B3

Accessibility & contrast

On white

5.54
#796178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#796178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796178
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796178#FFFFFF#000000##FFFFFF
##7961781.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606779
Deuteranopia (green-blind)
#656A77
Tritanopia (blue-blind)
#7B6369
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #796178;
/* rgb */ color: rgb(121, 97, 120);
/* oklch */ color: oklch(52.4% 0.046 327.5);
Tailwind
colors: {
  custom: {
    50: '#a08e9f',
    500: '#796178',
    950: '#000000',
  },
}
SCSS
$custom: #796178;
$custom-light: #a08e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#796178",
  "rgb": {
    "r": 121,
    "g": 97,
    "b": 120
  },
  "hsl": {
    "h": 302.5,
    "s": 11.009,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5243,
    "c": 0.04606,
    "h": 327.5
  },
  "luminance": 0.1397
}

Semantic roles & 50–950 ramp

primary
#796178
secondary
#93A394
accent
#B47774
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0C0E
muted
#7E7D7E

Preview Lab

Preview with #796178

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

Preview Lab → · Contrast checker → · Palette generator →

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