#792C78#792C78

#792C78 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.144 H 328.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#792C78
RGBrgb(121, 44, 120)
HSLhsl(301, 47%, 32%)
HSVhsv(301, 64%, 47%)
CMYKcmyk(0%, 63.6%, 0.8%, 52.5%)
CIE-LABlab(32.31, 43.82, -27.52)
CIE-LCHlch(32.31, 51.74, 327.87°)
OKLaboklab(43.5% 0.1225 -0.0759)
OKLCHoklch(43.5% 0.144 328.2)
XYZxyz(12.1758, 7.2232, 18.5186)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C78 #2C792D
analogous
#532C79 #792C78 #792C52
triadic
#792C78 #78792C #2C7879
tetradic
#792C78 #79532C #2C792D #2C5279
square
#792C78 #79532C #2C792D #2C5279
split-complementary
#792C78 #52792C #2C7953
monochromatic
#1F0B1F #4C1C4B #792C78 #A63CA5 #C45CC2

Accessibility & contrast

On white

8.59
#792C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#792C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C78
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C78#FFFFFF#000000##FFFFFF
##792C781.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792c78;
/* rgb */ color: rgb(121, 44, 120);
/* oklch */ color: oklch(43.5% 0.144 328.2);
Tailwind
colors: {
  custom: {
    50: '#a26b9f',
    500: '#792c78',
    950: '#000000',
  },
}
SCSS
$custom: #792c78;
$custom-light: #a26b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#792c78",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 300.779,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43504,
    "c": 0.14409,
    "h": 328.2
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#792C78
secondary
#57AA58
accent
#D65351
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792C78

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

Preview Lab → · Contrast checker → · Palette generator →

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