#79157F#79157F

#79157F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.177 H 325.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#79157F
RGBrgb(121, 21, 127)
HSLhsl(297, 72%, 29%)
HSVhsv(297, 83%, 50%)
CMYKcmyk(4.7%, 83.5%, 0%, 50.2%)
CIE-LABlab(29.75, 53.53, -35.99)
CIE-LCHlch(29.75, 64.50, 326.08°)
OKLaboklab(41.8% 0.1462 -0.1003)
OKLCHoklch(41.8% 0.177 325.5)
XYZxyz(11.9838, 6.1344, 20.6274)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79157F #1B7F15
analogous
#44157F #79157F #7F1550
triadic
#79157F #7F7915 #157F79
tetradic
#79157F #7F4415 #1B7F15 #15507F
square
#79157F #7F4415 #1B7F15 #15507F
split-complementary
#79157F #507F15 #157F44
monochromatic
#19041A #470C4A #79157F #AB1EB4 #D331DD

Accessibility & contrast

On white

9.43
#79157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#79157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79157F
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79157F#FFFFFF#000000##FFFFFF
##79157F1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#7C2A4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79157f;
/* rgb */ color: rgb(121, 21, 127);
/* oklch */ color: oklch(41.8% 0.177 325.5);
Tailwind
colors: {
  custom: {
    50: '#a361a5',
    500: '#79157f',
    950: '#000000',
  },
}
SCSS
$custom: #79157f;
$custom-light: #a361a5;
$custom-dark: #000000;
JSON
{
  "hex": "#79157f",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 296.604,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41801,
    "c": 0.17728,
    "h": 325.5
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#79157F
secondary
#43B43C
accent
#EE3944
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79157F

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

Preview Lab → · Contrast checker → · Palette generator →

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