#79156B#79156B

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

Color values

HEX#79156B
RGBrgb(121, 21, 107)
HSLhsl(308, 70%, 28%)
HSVhsv(308, 83%, 47%)
CMYKcmyk(0%, 82.6%, 11.6%, 52.5%)
CIE-LABlab(28.55, 50.21, -25.16)
CIE-LCHlch(28.55, 56.17, 333.38°)
OKLaboklab(40.56% 0.1465 -0.0689)
OKLCHoklch(40.56% 0.162 334.8)
XYZxyz(10.8073, 5.6638, 14.4311)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79156B #157923
analogous
#551579 #79156B #791539
triadic
#79156B #6B7915 #156B79
tetradic
#79156B #795515 #157923 #153979
square
#79156B #795515 #157923 #153979
split-complementary
#79156B #397915 #157955
monochromatic
#1A0517 #450C3D #79156B #AD1E99 #DB2EC2

Accessibility & contrast

On white

9.85
#79156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79156B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79156B#FFFFFF#000000##FFFFFF
##79156B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6D
Deuteranopia (green-blind)
#3B4869
Tritanopia (blue-blind)
#7F1F40
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #79156b;
/* rgb */ color: rgb(121, 21, 107);
/* oklch */ color: oklch(40.6% 0.162 334.8);
Tailwind
colors: {
  custom: {
    50: '#a36095',
    500: '#79156b',
    950: '#000000',
  },
}
SCSS
$custom: #79156b;
$custom-light: #a36095;
$custom-dark: #000000;
JSON
{
  "hex": "#79156b",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 308.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4056,
    "c": 0.16193,
    "h": 334.8
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#79156B
secondary
#3BAF4B
accent
#ED543B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #79156B

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

Preview Lab → · Contrast checker → · Palette generator →

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