#79117E#79117E

#79117E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.180 H 326.0°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#79117E
RGBrgb(121, 17, 126)
HSLhsl(297, 76%, 28%)
HSVhsv(297, 87%, 49%)
CMYKcmyk(4%, 86.5%, 0%, 50.6%)
CIE-LABlab(29.34, 54.34, -36.01)
CIE-LCHlch(29.34, 65.19, 326.47°)
OKLaboklab(41.5% 0.149 -0.1003)
OKLCHoklch(41.5% 0.18 326)
XYZxyz(11.8513, 5.9730, 20.2633)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79117E #167E11
analogous
#43117E #79117E #7E114C
triadic
#79117E #7E7911 #117E79
tetradic
#79117E #7E4311 #167E11 #114C7E
square
#79117E #7E4311 #167E11 #114C7E
split-complementary
#79117E #4C7E11 #117E43
monochromatic
#1A041B #450A48 #79117E #AD18B4 #D927E2

Accessibility & contrast

On white

9.57
#79117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#79117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79117E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79117E#FFFFFF#000000##FFFFFF
##79117E1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#7C284A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #79117e;
/* rgb */ color: rgb(121, 17, 126);
/* oklch */ color: oklch(41.5% 0.180 326.0);
Tailwind
colors: {
  custom: {
    50: '#a360a4',
    500: '#79117e',
    950: '#000000',
  },
}
SCSS
$custom: #79117e;
$custom-light: #a360a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79117e",
  "rgb": {
    "r": 121,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 297.248,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41495,
    "c": 0.17964,
    "h": 326
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#79117E
secondary
#3DB437
accent
#F3353E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10050F
muted
#7F7A7F

Preview Lab

Preview with #79117E

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

Preview Lab → · Contrast checker → · Palette generator →

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