#792D82#792D82

#792D82 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.2% C 0.152 H 323.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#792D82
RGBrgb(121, 45, 130)
HSLhsl(294, 49%, 34%)
HSVhsv(294, 65%, 51%)
CMYKcmyk(6.9%, 65.4%, 0%, 49%)
CIE-LABlab(33.04, 45.27, -32.63)
CIE-LCHlch(33.04, 55.81, 324.22°)
OKLaboklab(44.21% 0.1218 -0.0907)
OKLCHoklch(44.21% 0.152 323.3)
XYZxyz(12.8524, 7.5541, 21.8959)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D82 #36822D
analogous
#4F2D82 #792D82 #822D61
triadic
#792D82 #82792D #2D8279
tetradic
#792D82 #824F2D #36822D #2D6182
square
#792D82 #824F2D #36822D #2D6182
split-complementary
#792D82 #61822D #2D824F
monochromatic
#240E27 #4F1D55 #792D82 #A33DAF #BD61C8

Accessibility & contrast

On white

8.36
#792D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#792D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D82
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D82#FFFFFF#000000##FFFFFF
##792D821.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#3A5180
Tritanopia (blue-blind)
#7B3A53
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792d82;
/* rgb */ color: rgb(121, 45, 130);
/* oklch */ color: oklch(44.2% 0.152 323.3);
Tailwind
colors: {
  custom: {
    50: '#a26ca7',
    500: '#792d82',
    950: '#000000',
  },
}
SCSS
$custom: #792d82;
$custom-light: #a26ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#792d82",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 293.647,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44214,
    "c": 0.15185,
    "h": 323.3
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#792D82
secondary
#65AF5C
accent
#D8505E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792D82

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

Preview Lab → · Contrast checker → · Palette generator →

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