#792D76#792D76

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

Color values

HEX#792D76
RGBrgb(121, 45, 118)
HSLhsl(302, 46%, 33%)
HSVhsv(302, 63%, 47%)
CMYKcmyk(0%, 62.8%, 2.5%, 52.5%)
CIE-LABlab(32.37, 42.99, -26.16)
CIE-LCHlch(32.37, 50.32, 328.68°)
OKLaboklab(43.51% 0.121 -0.072)
OKLCHoklch(43.51% 0.141 329.2)
XYZxyz(12.0934, 7.2505, 17.8986)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D76 #2D7930
analogous
#562D79 #792D76 #792D50
triadic
#792D76 #76792D #2D7679
tetradic
#792D76 #79562D #2D7930 #2D5079
square
#792D76 #79562D #2D7930 #2D5079
split-complementary
#792D76 #50792D #2D7956
monochromatic
#200C1F #4C1C4A #792D76 #A63EA2 #C35DBF

Accessibility & contrast

On white

8.57
#792D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#792D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D76
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D76#FFFFFF#000000##FFFFFF
##792D761.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264678
Deuteranopia (green-blind)
#405074
Tritanopia (blue-blind)
#7D354D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792d76;
/* rgb */ color: rgb(121, 45, 118);
/* oklch */ color: oklch(43.5% 0.141 329.2);
Tailwind
colors: {
  custom: {
    50: '#a26b9e',
    500: '#792d76',
    950: '#000000',
  },
}
SCSS
$custom: #792d76;
$custom-light: #a26b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#792d76",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 302.368,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43514,
    "c": 0.14077,
    "h": 329.2
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#792D76
secondary
#58A95C
accent
#D55852
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792D76

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

Preview Lab → · Contrast checker → · Palette generator →

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