#79168F#79168F

#79168F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 43.0% C 0.189 H 319.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#79168F
RGBrgb(121, 22, 143)
HSLhsl(289, 73%, 32%)
HSVhsv(289, 85%, 56%)
CMYKcmyk(15.4%, 84.6%, 0%, 43.9%)
CIE-LABlab(30.93, 56.17, -44.06)
CIE-LCHlch(30.93, 71.39, 321.89°)
OKLaboklab(42.98% 0.1433 -0.124)
OKLCHoklch(42.98% 0.189 319.1)
XYZxyz(13.1293, 6.6226, 26.5680)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79168F #2C8F16
analogous
#3D168F #79168F #8F1668
triadic
#79168F #8F7916 #168F79
tetradic
#79168F #8F3D16 #2C8F16 #16688F
square
#79168F #8F3D16 #2C8F16 #16688F
split-complementary
#79168F #688F16 #168F3D
monochromatic
#1F0625 #4C0E5A #79168F #A61EC4 #C43EE1

Accessibility & contrast

On white

9.03
#79168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#79168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79168F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79168F#FFFFFF#000000##FFFFFF
##79168F1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#204C8C
Tritanopia (blue-blind)
#793355
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79168f;
/* rgb */ color: rgb(121, 22, 143);
/* oklch */ color: oklch(43.0% 0.189 319.1);
Tailwind
colors: {
  custom: {
    50: '#a462b0',
    500: '#79168f',
    950: '#000000',
  },
}
SCSS
$custom: #79168f;
$custom-light: #a462b0;
$custom-dark: #000000;
JSON
{
  "hex": "#79168f",
  "rgb": {
    "r": 121,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 289.091,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.18948,
    "h": 319.1
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#79168F
secondary
#57C13F
accent
#F03859
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #79168F

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

Preview Lab → · Contrast checker → · Palette generator →

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