#79178D#79178D

#79178D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.187 H 319.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#79178D
RGBrgb(121, 23, 141)
HSLhsl(290, 72%, 32%)
HSVhsv(290, 84%, 55%)
CMYKcmyk(14.2%, 83.7%, 0%, 44.7%)
CIE-LABlab(30.88, 55.53, -42.90)
CIE-LCHlch(30.88, 70.17, 322.31°)
OKLaboklab(42.9% 0.1429 -0.1206)
OKLCHoklch(42.9% 0.187 319.9)
XYZxyz(12.9987, 6.6015, 25.7837)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79178D #2B8D17
analogous
#3E178D #79178D #8D1766
triadic
#79178D #8D7917 #178D79
tetradic
#79178D #8D3E17 #2B8D17 #17668D
square
#79178D #8D3E17 #2B8D17 #17668D
split-complementary
#79178D #668D17 #178D3E
monochromatic
#1F0624 #4C0E58 #79178D #A620C2 #C43FE0

Accessibility & contrast

On white

9.05
#79178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#79178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79178D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79178D#FFFFFF#000000##FFFFFF
##79178D1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#793254
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79178d;
/* rgb */ color: rgb(121, 23, 141);
/* oklch */ color: oklch(42.9% 0.187 319.9);
Tailwind
colors: {
  custom: {
    50: '#a463af',
    500: '#79178d',
    950: '#000000',
  },
}
SCSS
$custom: #79178d;
$custom-light: #a463af;
$custom-dark: #000000;
JSON
{
  "hex": "#79178d",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 289.831,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.187,
    "h": 319.9
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#79178D
secondary
#56C040
accent
#EF3958
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79178D

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

Preview Lab → · Contrast checker → · Palette generator →

#79178D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva