#792D7A#792D7A

#792D7A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.144 H 327.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#792D7A
RGBrgb(121, 45, 122)
HSLhsl(299, 46%, 33%)
HSVhsv(299, 63%, 48%)
CMYKcmyk(0.8%, 63.1%, 0%, 52.2%)
CIE-LABlab(32.59, 43.73, -28.34)
CIE-LCHlch(32.59, 52.11, 327.06°)
OKLaboklab(43.74% 0.1214 -0.0783)
OKLCHoklch(43.74% 0.144 327.2)
XYZxyz(12.3362, 7.3476, 19.1771)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D7A #2E7A2D
analogous
#532D7A #792D7A #7A2D54
triadic
#792D7A #7A792D #2D7A79
tetradic
#792D7A #7A532D #2E7A2D #2D547A
square
#792D7A #7A532D #2E7A2D #2D547A
split-complementary
#792D7A #547A2D #2D7A53
monochromatic
#200C21 #4D1D4D #792D7A #A53DA7 #C25EC4

Accessibility & contrast

On white

8.50
#792D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#792D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D7A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D7A#FFFFFF#000000##FFFFFF
##792D7A1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#7C374F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792d7a;
/* rgb */ color: rgb(121, 45, 122);
/* oklch */ color: oklch(43.7% 0.144 327.2);
Tailwind
colors: {
  custom: {
    50: '#a26ba1',
    500: '#792d7a',
    950: '#000000',
  },
}
SCSS
$custom: #792d7a;
$custom-light: #a26ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#792d7a",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 299.221,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4374,
    "c": 0.1444,
    "h": 327.2
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#792D7A
secondary
#5AAA59
accent
#D65254
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #792D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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