#792E7D#792E7D

#792E7D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.146 H 325.7°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#792E7D
RGBrgb(121, 46, 125)
HSLhsl(297, 46%, 34%)
HSVhsv(297, 63%, 49%)
CMYKcmyk(3.2%, 63.2%, 0%, 51%)
CIE-LABlab(32.92, 43.84, -29.69)
CIE-LCHlch(32.92, 52.95, 325.89°)
OKLaboklab(44.04% 0.1203 -0.0822)
OKLCHoklch(44.04% 0.146 325.7)
XYZxyz(12.5636, 7.5004, 20.1840)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E7D #327D2E
analogous
#512E7D #792E7D #7D2E59
triadic
#792E7D #7D792E #2E7D79
tetradic
#792E7D #7D512E #327D2E #2E597D
square
#792E7D #7D512E #327D2E #2E597D
split-complementary
#792E7D #597D2E #2E7D51
monochromatic
#220D24 #4E1E50 #792E7D #A43EAA #C061C5

Accessibility & contrast

On white

8.40
#792E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#792E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E7D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E7D#FFFFFF#000000##FFFFFF
##792E7D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477F
Deuteranopia (green-blind)
#3D517B
Tritanopia (blue-blind)
#7C3951
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792e7d;
/* rgb */ color: rgb(121, 46, 125);
/* oklch */ color: oklch(44.0% 0.146 325.7);
Tailwind
colors: {
  custom: {
    50: '#a26ca3',
    500: '#792e7d',
    950: '#000000',
  },
}
SCSS
$custom: #792e7d;
$custom-light: #a26ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#792e7d",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 296.962,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44037,
    "c": 0.14567,
    "h": 325.7
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#792E7D
secondary
#5FAB5B
accent
#D65259
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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