#793979#793979

#793979 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.3% C 0.124 H 327.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#793979
RGBrgb(121, 57, 121)
HSLhsl(300, 36%, 35%)
HSVhsv(300, 53%, 47%)
CMYKcmyk(0%, 52.9%, 0%, 52.5%)
CIE-LABlab(34.75, 37.55, -24.32)
CIE-LCHlch(34.75, 44.74, 327.07°)
OKLaboklab(45.31% 0.1044 -0.0668)
OKLCHoklch(45.31% 0.124 327.4)
XYZxyz(12.7993, 8.3724, 19.0273)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793979 #397939
analogous
#593979 #793979 #793959
triadic
#793979 #797939 #397979
tetradic
#793979 #795939 #397939 #395979
square
#793979 #795939 #397939 #395979
split-complementary
#793979 #597939 #397959
monochromatic
#261226 #4F254F #793979 #A34DA3 #BC71BC

Accessibility & contrast

On white

7.85
#793979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#793979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793979
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793979#FFFFFF#000000##FFFFFF
##7939791.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#465577
Tritanopia (blue-blind)
#7C4053
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #793979;
/* rgb */ color: rgb(121, 57, 121);
/* oklch */ color: oklch(45.3% 0.124 327.4);
Tailwind
colors: {
  custom: {
    50: '#a172a0',
    500: '#793979',
    950: '#000000',
  },
}
SCSS
$custom: #793979;
$custom-light: #a172a0;
$custom-dark: #000000;
JSON
{
  "hex": "#793979",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45306,
    "c": 0.1239,
    "h": 327.4
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#793979
secondary
#69A569
accent
#CC5C5C
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080E
muted
#7F7B7E

Preview Lab

Preview with #793979

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

Preview Lab → · Contrast checker → · Palette generator →

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