#79156F#79156F

#79156F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.165 H 332.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#79156F
RGBrgb(121, 21, 111)
HSLhsl(306, 70%, 28%)
HSVhsv(306, 83%, 47%)
CMYKcmyk(0%, 82.6%, 8.3%, 52.5%)
CIE-LABlab(28.77, 50.84, -27.38)
CIE-LCHlch(28.77, 57.75, 331.70°)
OKLaboklab(40.79% 0.1467 -0.0753)
OKLCHoklch(40.79% 0.165 332.8)
XYZxyz(11.0226, 5.7499, 15.5652)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79156F #15791F
analogous
#511579 #79156F #79153D
triadic
#79156F #6F7915 #156F79
tetradic
#79156F #795115 #15791F #153D79
square
#79156F #795115 #15791F #153D79
split-complementary
#79156F #3D7915 #157951
monochromatic
#1A0518 #450C3F #79156F #AD1E9F #DB2EC9

Accessibility & contrast

On white

9.77
#79156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#79156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79156F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79156F#FFFFFF#000000##FFFFFF
##79156F1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B71
Deuteranopia (green-blind)
#39496D
Tritanopia (blue-blind)
#7F2142
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79156f;
/* rgb */ color: rgb(121, 21, 111);
/* oklch */ color: oklch(40.8% 0.165 332.8);
Tailwind
colors: {
  custom: {
    50: '#a36098',
    500: '#79156f',
    950: '#000000',
  },
}
SCSS
$custom: #79156f;
$custom-light: #a36098;
$custom-dark: #000000;
JSON
{
  "hex": "#79156f",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 306,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40793,
    "c": 0.16489,
    "h": 332.8
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#79156F
secondary
#3BAF47
accent
#ED4C3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #79156F

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

Preview Lab → · Contrast checker → · Palette generator →

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