#792C7F#792C7F

#792C7F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.150 H 324.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#792C7F
RGBrgb(121, 44, 127)
HSLhsl(296, 49%, 34%)
HSVhsv(296, 65%, 50%)
CMYKcmyk(4.7%, 65.4%, 0%, 50.2%)
CIE-LABlab(32.70, 45.14, -31.29)
CIE-LCHlch(32.70, 54.93, 325.27°)
OKLaboklab(43.91% 0.1229 -0.0868)
OKLCHoklch(43.91% 0.151 324.8)
XYZxyz(12.6163, 7.3994, 20.8383)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C7F #327F2C
analogous
#4F2C7F #792C7F #7F2C5B
triadic
#792C7F #7F792C #2C7F79
tetradic
#792C7F #7F4F2C #327F2C #2C5B7F
square
#792C7F #7F4F2C #327F2C #2C5B7F
split-complementary
#792C7F #5B7F2C #2C7F4F
monochromatic
#220D24 #4E1C52 #792C7F #A43CAC #C05EC7

Accessibility & contrast

On white

8.47
#792C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#792C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C7F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C7F#FFFFFF#000000##FFFFFF
##792C7F1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4781
Deuteranopia (green-blind)
#3B507D
Tritanopia (blue-blind)
#7C3851
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792c7f;
/* rgb */ color: rgb(121, 44, 127);
/* oklch */ color: oklch(43.9% 0.150 324.8);
Tailwind
colors: {
  custom: {
    50: '#a26ba4',
    500: '#792c7f',
    950: '#000000',
  },
}
SCSS
$custom: #792c7f;
$custom-light: #a26ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#792c7f",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 295.663,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43913,
    "c": 0.1505,
    "h": 324.8
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#792C7F
secondary
#5FAD59
accent
#D8505A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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