#792D7E#792D7E

#792D7E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.148 H 325.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#792D7E
RGBrgb(121, 45, 126)
HSLhsl(296, 47%, 34%)
HSVhsv(296, 64%, 49%)
CMYKcmyk(4%, 64.3%, 0%, 50.6%)
CIE-LABlab(32.81, 44.50, -30.50)
CIE-LCHlch(32.81, 53.94, 325.57°)
OKLaboklab(43.97% 0.1216 -0.0845)
OKLCHoklch(43.97% 0.148 325.2)
XYZxyz(12.5892, 7.4488, 20.5093)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D7E #327E2D
analogous
#502D7E #792D7E #7E2D5A
triadic
#792D7E #7E792D #2D7E79
tetradic
#792D7E #7E502D #327E2D #2D5A7E
square
#792D7E #7E502D #327E2D #2D5A7E
split-complementary
#792D7E #5A7E2D #2D7E50
monochromatic
#220D24 #4E1D51 #792D7E #A43DAB #C05FC6

Accessibility & contrast

On white

8.44
#792D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#792D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D7E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D7E#FFFFFF#000000##FFFFFF
##792D7E1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#3C507C
Tritanopia (blue-blind)
#7C3951
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792d7e;
/* rgb */ color: rgb(121, 45, 126);
/* oklch */ color: oklch(44.0% 0.148 325.2);
Tailwind
colors: {
  custom: {
    50: '#a26ca4',
    500: '#792d7e',
    950: '#000000',
  },
}
SCSS
$custom: #792d7e;
$custom-light: #a26ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#792d7e",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 296.296,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43974,
    "c": 0.1481,
    "h": 325.2
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#792D7E
secondary
#5FAC5A
accent
#D75159
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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