#79156E#79156E

#79156E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.164 H 333.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#79156E
RGBrgb(121, 21, 110)
HSLhsl(307, 70%, 28%)
HSVhsv(307, 83%, 47%)
CMYKcmyk(0%, 82.6%, 9.1%, 52.5%)
CIE-LABlab(28.72, 50.69, -26.83)
CIE-LCHlch(28.72, 57.35, 332.11°)
OKLaboklab(40.73% 0.1467 -0.0737)
OKLCHoklch(40.73% 0.164 333.3)
XYZxyz(10.9679, 5.7280, 15.2768)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79156E #157920
analogous
#521579 #79156E #79153C
triadic
#79156E #6E7915 #156E79
tetradic
#79156E #795215 #157920 #153C79
square
#79156E #795215 #157920 #153C79
split-complementary
#79156E #3C7915 #157952
monochromatic
#1A0518 #450C3F #79156E #AD1E9D #DB2EC8

Accessibility & contrast

On white

9.79
#79156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79156E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79156E#FFFFFF#000000##FFFFFF
##79156E1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103B70
Deuteranopia (green-blind)
#39496C
Tritanopia (blue-blind)
#7F2141
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #79156e;
/* rgb */ color: rgb(121, 21, 110);
/* oklch */ color: oklch(40.7% 0.164 333.3);
Tailwind
colors: {
  custom: {
    50: '#a36098',
    500: '#79156e',
    950: '#000000',
  },
}
SCSS
$custom: #79156e;
$custom-light: #a36098;
$custom-dark: #000000;
JSON
{
  "hex": "#79156e",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 306.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40734,
    "c": 0.16414,
    "h": 333.3
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#79156E
secondary
#3BAF48
accent
#ED4E3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #79156E

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

Preview Lab → · Contrast checker → · Palette generator →

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