#792D78#792D78

#792D78 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.143 H 328.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#792D78
RGBrgb(121, 45, 120)
HSLhsl(301, 46%, 33%)
HSVhsv(301, 63%, 47%)
CMYKcmyk(0%, 62.8%, 0.8%, 52.5%)
CIE-LABlab(32.48, 43.36, -27.25)
CIE-LCHlch(32.48, 51.21, 327.85°)
OKLaboklab(43.63% 0.1212 -0.0751)
OKLCHoklch(43.63% 0.143 328.2)
XYZxyz(12.2136, 7.2986, 18.5311)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D78 #2D792E
analogous
#542D79 #792D78 #792D52
triadic
#792D78 #78792D #2D7879
tetradic
#792D78 #79542D #2D792E #2D5279
square
#792D78 #79542D #2D792E #2D5279
split-complementary
#792D78 #52792D #2D7954
monochromatic
#200C20 #4C1C4C #792D78 #A63EA4 #C35DC2

Accessibility & contrast

On white

8.54
#792D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D78
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D78#FFFFFF#000000##FFFFFF
##792D781.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#3F5076
Tritanopia (blue-blind)
#7D364E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792d78;
/* rgb */ color: rgb(121, 45, 120);
/* oklch */ color: oklch(43.6% 0.143 328.2);
Tailwind
colors: {
  custom: {
    50: '#a26b9f',
    500: '#792d78',
    950: '#000000',
  },
}
SCSS
$custom: #792d78;
$custom-light: #a26b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#792d78",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 300.789,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43626,
    "c": 0.14258,
    "h": 328.2
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#792D78
secondary
#58A95A
accent
#D55452
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792D78

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

Preview Lab → · Contrast checker → · Palette generator →

#792D78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva