#792B84#792B84

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

Color values

HEX#792B84
RGBrgb(121, 43, 132)
HSLhsl(293, 51%, 34%)
HSVhsv(293, 67%, 52%)
CMYKcmyk(8.3%, 67.4%, 0%, 48.2%)
CIE-LABlab(32.83, 46.57, -34.20)
CIE-LCHlch(32.83, 57.78, 323.71°)
OKLaboklab(44.1% 0.1243 -0.0953)
OKLCHoklch(44.1% 0.157 322.5)
XYZxyz(12.9135, 7.4593, 22.5849)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B84 #36842B
analogous
#4D2B84 #792B84 #842B63
triadic
#792B84 #84792B #2B8479
tetradic
#792B84 #844D2B #36842B #2B6384
square
#792B84 #844D2B #36842B #2B6384
split-complementary
#792B84 #63842B #2B844D
monochromatic
#240D28 #4F1C56 #792B84 #A33AB2 #BD5FCB

Accessibility & contrast

On white

8.43
#792B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#792B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B84
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B84#FFFFFF#000000##FFFFFF
##792B841.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154787
Deuteranopia (green-blind)
#375082
Tritanopia (blue-blind)
#7B3954
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792b84;
/* rgb */ color: rgb(121, 43, 132);
/* oklch */ color: oklch(44.1% 0.157 322.5);
Tailwind
colors: {
  custom: {
    50: '#a36ba8',
    500: '#792b84',
    950: '#000000',
  },
}
SCSS
$custom: #792b84;
$custom-light: #a36ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#792b84",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 292.584,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44103,
    "c": 0.1566,
    "h": 322.5
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#792B84
secondary
#65B15A
accent
#DA4D5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792B84

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

Preview Lab → · Contrast checker → · Palette generator →

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