#792C8D#792C8D

#792C8D is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.164 H 318.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#792C8D
RGBrgb(121, 44, 141)
HSLhsl(288, 52%, 36%)
HSVhsv(288, 69%, 55%)
CMYKcmyk(14.2%, 68.8%, 0%, 44.7%)
CIE-LABlab(33.54, 47.93, -38.63)
CIE-LCHlch(33.54, 61.56, 321.13°)
OKLaboklab(44.79% 0.123 -0.1082)
OKLCHoklch(44.79% 0.164 318.7)
XYZxyz(13.5929, 7.7900, 25.9818)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C8D #408D2C
analogous
#492C8D #792C8D #8D2C71
triadic
#792C8D #8D792C #2C8D79
tetradic
#792C8D #8D492C #408D2C #2C718D
square
#792C8D #8D492C #408D2C #2C718D
split-complementary
#792C8D #718D2C #2C8D49
monochromatic
#290F30 #511D5E #792C8D #A13BBC #B965CF

Accessibility & contrast

On white

8.21
#792C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#792C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C8D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C8D#FFFFFF#000000##FFFFFF
##792C8D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A90
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#793E59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792c8d;
/* rgb */ color: rgb(121, 44, 141);
/* oklch */ color: oklch(44.8% 0.164 318.7);
Tailwind
colors: {
  custom: {
    50: '#a36caf',
    500: '#792c8d',
    950: '#000000',
  },
}
SCSS
$custom: #792c8d;
$custom-light: #a36caf;
$custom-dark: #000000;
JSON
{
  "hex": "#792c8d",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 287.629,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44793,
    "c": 0.16379,
    "h": 318.7
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#792C8D
secondary
#71B560
accent
#DC4C6A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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