#79177F#79177F

#79177F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.176 H 325.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#79177F
RGBrgb(121, 23, 127)
HSLhsl(297, 69%, 29%)
HSVhsv(297, 82%, 50%)
CMYKcmyk(4.7%, 81.9%, 0%, 50.2%)
CIE-LABlab(29.94, 52.98, -35.69)
CIE-LCHlch(29.94, 63.87, 326.04°)
OKLaboklab(41.94% 0.1446 -0.0994)
OKLCHoklch(41.94% 0.176 325.5)
XYZxyz(12.0221, 6.2109, 20.6402)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79177F #1D7F17
analogous
#45177F #79177F #7F1751
triadic
#79177F #7F7917 #177F79
tetradic
#79177F #7F4517 #1D7F17 #17517F
square
#79177F #7F4517 #1D7F17 #17517F
split-complementary
#79177F #517F17 #177F45
monochromatic
#19051A #480E4B #79177F #AA20B3 #D136DB

Accessibility & contrast

On white

9.37
#79177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#79177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79177F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79177F#FFFFFF#000000##FFFFFF
##79177F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#304A7D
Tritanopia (blue-blind)
#7C2B4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #79177f;
/* rgb */ color: rgb(121, 23, 127);
/* oklch */ color: oklch(41.9% 0.176 325.5);
Tailwind
colors: {
  custom: {
    50: '#a362a5',
    500: '#79177f',
    950: '#000000',
  },
}
SCSS
$custom: #79177f;
$custom-light: #a362a5;
$custom-dark: #000000;
JSON
{
  "hex": "#79177f",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 296.538,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.17552,
    "h": 325.5
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#79177F
secondary
#45B43E
accent
#EC3C46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #79177F

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

Preview Lab → · Contrast checker → · Palette generator →

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