#792C8C#792C8C

#792C8C is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.163 H 319.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#792C8C
RGBrgb(121, 44, 140)
HSLhsl(288, 52%, 36%)
HSVhsv(288, 69%, 55%)
CMYKcmyk(13.6%, 68.6%, 0%, 45.1%)
CIE-LABlab(33.48, 47.73, -38.12)
CIE-LCHlch(33.48, 61.08, 321.39°)
OKLaboklab(44.73% 0.123 -0.1067)
OKLCHoklch(44.73% 0.163 319.1)
XYZxyz(13.5188, 7.7604, 25.5917)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C8C #3F8C2C
analogous
#492C8C #792C8C #8C2C6F
triadic
#792C8C #8C792C #2C8C79
tetradic
#792C8C #8C492C #3F8C2C #2C6F8C
square
#792C8C #8C492C #3F8C2C #2C6F8C
split-complementary
#792C8C #6F8C2C #2C8C49
monochromatic
#290F2F #511D5D #792C8C #A13BBB #B964CE

Accessibility & contrast

On white

8.23
#792C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#792C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C8C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C8C#FFFFFF#000000##FFFFFF
##792C8C1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064A8F
Deuteranopia (green-blind)
#32518A
Tritanopia (blue-blind)
#793D58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792c8c;
/* rgb */ color: rgb(121, 44, 140);
/* oklch */ color: oklch(44.7% 0.163 319.1);
Tailwind
colors: {
  custom: {
    50: '#a36cae',
    500: '#792c8c',
    950: '#000000',
  },
}
SCSS
$custom: #792c8c;
$custom-light: #a36cae;
$custom-dark: #000000;
JSON
{
  "hex": "#792c8c",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 288.125,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44727,
    "c": 0.16282,
    "h": 319.1
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#792C8C
secondary
#70B55F
accent
#DC4C69
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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