#79156C#79156C

#79156C is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.163 H 334.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#79156C
RGBrgb(121, 21, 108)
HSLhsl(308, 70%, 28%)
HSVhsv(308, 83%, 47%)
CMYKcmyk(0%, 82.6%, 10.7%, 52.5%)
CIE-LABlab(28.60, 50.37, -25.72)
CIE-LCHlch(28.60, 56.56, 332.95°)
OKLaboklab(40.62% 0.1466 -0.0705)
OKLCHoklch(40.62% 0.163 334.3)
XYZxyz(10.8602, 5.6850, 14.7098)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79156C #157922
analogous
#541579 #79156C #79153A
triadic
#79156C #6C7915 #156C79
tetradic
#79156C #795415 #157922 #153A79
square
#79156C #795415 #157922 #153A79
split-complementary
#79156C #3A7915 #157954
monochromatic
#1A0517 #450C3D #79156C #AD1E9B #DB2EC4

Accessibility & contrast

On white

9.83
#79156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#79156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79156C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79156C#FFFFFF#000000##FFFFFF
##79156C1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133A6E
Deuteranopia (green-blind)
#3A486A
Tritanopia (blue-blind)
#7F2040
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #79156c;
/* rgb */ color: rgb(121, 21, 108);
/* oklch */ color: oklch(40.6% 0.163 334.3);
Tailwind
colors: {
  custom: {
    50: '#a36096',
    500: '#79156c',
    950: '#000000',
  },
}
SCSS
$custom: #79156c;
$custom-light: #a36096;
$custom-dark: #000000;
JSON
{
  "hex": "#79156c",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 307.8,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40618,
    "c": 0.16267,
    "h": 334.3
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#79156C
secondary
#3BAF4A
accent
#ED523B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #79156C

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

Preview Lab → · Contrast checker → · Palette generator →

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