#79178F#79178F

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

Color values

HEX#79178F
RGBrgb(121, 23, 143)
HSLhsl(289, 72%, 33%)
HSVhsv(289, 84%, 56%)
CMYKcmyk(15.4%, 83.9%, 0%, 43.9%)
CIE-LABlab(31.02, 55.91, -43.91)
CIE-LCHlch(31.02, 71.09, 321.85°)
OKLaboklab(43.05% 0.1426 -0.1235)
OKLCHoklch(43.05% 0.189 319.1)
XYZxyz(13.1488, 6.6616, 26.5745)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79178F #2D8F17
analogous
#3D178F #79178F #8F1769
triadic
#79178F #8F7917 #178F79
tetradic
#79178F #8F3D17 #2D8F17 #17698F
square
#79178F #8F3D17 #2D8F17 #17698F
split-complementary
#79178F #698F17 #178F3D
monochromatic
#200626 #4C0F5A #79178F #A61FC4 #C340E0

Accessibility & contrast

On white

9.00
#79178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#79178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79178F
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79178F#FFFFFF#000000##FFFFFF
##79178F1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79178f;
/* rgb */ color: rgb(121, 23, 143);
/* oklch */ color: oklch(43.0% 0.189 319.1);
Tailwind
colors: {
  custom: {
    50: '#a463b0',
    500: '#79178f',
    950: '#000000',
  },
}
SCSS
$custom: #79178f;
$custom-light: #a463b0;
$custom-dark: #000000;
JSON
{
  "hex": "#79178f",
  "rgb": {
    "r": 121,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 289,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43047,
    "c": 0.18866,
    "h": 319.1
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#79178F
secondary
#58C141
accent
#EF395A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #79178F

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

Preview Lab → · Contrast checker → · Palette generator →

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