#791D84#791D84

#791D84 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.174 H 323.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#791D84
RGBrgb(121, 29, 132)
HSLhsl(294, 64%, 32%)
HSVhsv(294, 78%, 52%)
CMYKcmyk(8.3%, 78%, 0%, 48.2%)
CIE-LABlab(30.90, 52.03, -37.28)
CIE-LCHlch(30.90, 64.00, 324.38°)
OKLaboklab(42.72% 0.1392 -0.1041)
OKLCHoklch(42.72% 0.174 323.2)
XYZxyz(12.4890, 6.6104, 22.4434)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D84 #28841D
analogous
#461D84 #791D84 #841D5C
triadic
#791D84 #84791D #1D8479
tetradic
#791D84 #84461D #28841D #1D5C84
square
#791D84 #84461D #28841D #1D5C84
split-complementary
#791D84 #5C841D #1D8446
monochromatic
#1D0720 #4B1252 #791D84 #A728B6 #C745D6

Accessibility & contrast

On white

9.04
#791D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#791D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D84
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D84#FFFFFF#000000##FFFFFF
##791D841.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#2F4C82
Tritanopia (blue-blind)
#7B3150
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791d84;
/* rgb */ color: rgb(121, 29, 132);
/* oklch */ color: oklch(42.7% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#a364a8',
    500: '#791d84',
    950: '#000000',
  },
}
SCSS
$custom: #791d84;
$custom-light: #a364a8;
$custom-dark: #000000;
JSON
{
  "hex": "#791d84",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 293.592,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42723,
    "c": 0.1738,
    "h": 323.2
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#791D84
secondary
#52B746
accent
#E74153
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791D84

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

Preview Lab → · Contrast checker → · Palette generator →

#791D84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva