#792C7C#792C7C

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

Color values

HEX#792C7C
RGBrgb(121, 44, 124)
HSLhsl(298, 48%, 33%)
HSVhsv(298, 65%, 49%)
CMYKcmyk(2.4%, 64.5%, 0%, 51.4%)
CIE-LABlab(32.53, 44.57, -29.68)
CIE-LCHlch(32.53, 53.55, 326.34°)
OKLaboklab(43.74% 0.1228 -0.0821)
OKLCHoklch(43.74% 0.148 326.2)
XYZxyz(12.4237, 7.3223, 19.8238)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C7C #2F7C2C
analogous
#512C7C #792C7C #7C2C57
triadic
#792C7C #7C792C #2C7C79
tetradic
#792C7C #7C512C #2F7C2C #2C577C
square
#792C7C #7C512C #2F7C2C #2C577C
split-complementary
#792C7C #577C2C #2C7C51
monochromatic
#210C22 #4D1C4F #792C7C #A53CA9 #C25DC5

Accessibility & contrast

On white

8.52
#792C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C7C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C7C#FFFFFF#000000##FFFFFF
##792C7C1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#3D507A
Tritanopia (blue-blind)
#7C3750
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792c7c;
/* rgb */ color: rgb(121, 44, 124);
/* oklch */ color: oklch(43.7% 0.148 326.2);
Tailwind
colors: {
  custom: {
    50: '#a26ba2',
    500: '#792c7c',
    950: '#000000',
  },
}
SCSS
$custom: #792c7c;
$custom-light: #a26ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#792c7c",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 297.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43736,
    "c": 0.14772,
    "h": 326.2
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#792C7C
secondary
#5BAC58
accent
#D75156
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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