#79158E#79158E

#79158E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.189 H 319.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#79158E
RGBrgb(121, 21, 142)
HSLhsl(290, 74%, 32%)
HSVhsv(290, 85%, 56%)
CMYKcmyk(14.8%, 85.2%, 0%, 44.3%)
CIE-LABlab(30.77, 56.25, -43.70)
CIE-LCHlch(30.77, 71.23, 322.15°)
OKLaboklab(42.85% 0.1442 -0.1229)
OKLCHoklch(42.85% 0.189 319.6)
XYZxyz(13.0352, 6.5550, 26.1646)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79158E #2A8E15
analogous
#3D158E #79158E #8E1567
triadic
#79158E #8E7915 #158E79
tetradic
#79158E #8E3D15 #2A8E15 #15678E
square
#79158E #8E3D15 #2A8E15 #15678E
split-complementary
#79158E #678E15 #158E3D
monochromatic
#1E0523 #4C0D59 #79158E #A61DC3 #C53BE2

Accessibility & contrast

On white

9.09
#79158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#79158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79158E
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79158E#FFFFFF#000000##FFFFFF
##79158E1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#214C8B
Tritanopia (blue-blind)
#793254
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #79158e;
/* rgb */ color: rgb(121, 21, 142);
/* oklch */ color: oklch(42.8% 0.189 319.6);
Tailwind
colors: {
  custom: {
    50: '#a462b0',
    500: '#79158e',
    950: '#000000',
  },
}
SCSS
$custom: #79158e;
$custom-light: #a462b0;
$custom-dark: #000000;
JSON
{
  "hex": "#79158e",
  "rgb": {
    "r": 121,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 289.587,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42847,
    "c": 0.18944,
    "h": 319.6
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#79158E
secondary
#54C23D
accent
#F13757
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79158E

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

Preview Lab → · Contrast checker → · Palette generator →

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