#79156A#79156A

#79156A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.161 H 335.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#79156A
RGBrgb(121, 21, 106)
HSLhsl(309, 70%, 28%)
HSVhsv(309, 83%, 47%)
CMYKcmyk(0%, 82.6%, 12.4%, 52.5%)
CIE-LABlab(28.49, 50.06, -24.61)
CIE-LCHlch(28.49, 55.78, 333.82°)
OKLaboklab(40.5% 0.1465 -0.0673)
OKLCHoklch(40.5% 0.161 335.3)
XYZxyz(10.7550, 5.6429, 14.1556)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79156A #157924
analogous
#561579 #79156A #791538
triadic
#79156A #6A7915 #156A79
tetradic
#79156A #795615 #157924 #153879
square
#79156A #795615 #157924 #153879
split-complementary
#79156A #387915 #157956
monochromatic
#1A0517 #450C3C #79156A #AD1E98 #DB2EC1

Accessibility & contrast

On white

9.87
#79156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#79156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79156A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79156A#FFFFFF#000000##FFFFFF
##79156A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153A6C
Deuteranopia (green-blind)
#3B4868
Tritanopia (blue-blind)
#7F1E3F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #79156a;
/* rgb */ color: rgb(121, 21, 106);
/* oklch */ color: oklch(40.5% 0.161 335.3);
Tailwind
colors: {
  custom: {
    50: '#a36095',
    500: '#79156a',
    950: '#000000',
  },
}
SCSS
$custom: #79156a;
$custom-light: #a36095;
$custom-dark: #000000;
JSON
{
  "hex": "#79156a",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 309,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40503,
    "c": 0.1612,
    "h": 335.3
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#79156A
secondary
#3BAF4D
accent
#ED553B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #79156A

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

Preview Lab → · Contrast checker → · Palette generator →

#79156A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva