#792C82#792C82

#792C82 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.153 H 323.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#792C82
RGBrgb(121, 44, 130)
HSLhsl(294, 49%, 34%)
HSVhsv(294, 66%, 51%)
CMYKcmyk(6.9%, 66.2%, 0%, 49%)
CIE-LABlab(32.87, 45.73, -32.89)
CIE-LCHlch(32.87, 56.33, 324.28°)
OKLaboklab(44.1% 0.123 -0.0914)
OKLCHoklch(44.1% 0.153 323.4)
XYZxyz(12.8147, 7.4787, 21.8833)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C82 #35822C
analogous
#4E2C82 #792C82 #822C60
triadic
#792C82 #82792C #2C8279
tetradic
#792C82 #824E2C #35822C #2C6082
square
#792C82 #824E2C #35822C #2C6082
split-complementary
#792C82 #60822C #2C824E
monochromatic
#240D27 #4E1D54 #792C82 #A43BB0 #BE5FC9

Accessibility & contrast

On white

8.41
#792C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#792C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C82
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C82#FFFFFF#000000##FFFFFF
##792C821.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194785
Deuteranopia (green-blind)
#395080
Tritanopia (blue-blind)
#7B3953
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792c82;
/* rgb */ color: rgb(121, 44, 130);
/* oklch */ color: oklch(44.1% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#a26ba7',
    500: '#792c82',
    950: '#000000',
  },
}
SCSS
$custom: #792c82;
$custom-light: #a26ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#792c82",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 293.721,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.1533,
    "h": 323.4
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#792C82
secondary
#63AF5B
accent
#D94F5D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792C82

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

Preview Lab → · Contrast checker → · Palette generator →

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