#791C84#791C84

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

Color values

HEX#791C84
RGBrgb(121, 28, 132)
HSLhsl(294, 65%, 31%)
HSVhsv(294, 79%, 52%)
CMYKcmyk(8.3%, 78.8%, 0%, 48.2%)
CIE-LABlab(30.79, 52.36, -37.46)
CIE-LCHlch(30.79, 64.38, 324.42°)
OKLaboklab(42.64% 0.14 -0.1047)
OKLCHoklch(42.64% 0.175 323.2)
XYZxyz(12.4649, 6.5622, 22.4354)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C84 #27841C
analogous
#451C84 #791C84 #841C5B
triadic
#791C84 #84791C #1C8479
tetradic
#791C84 #84451C #27841C #1C5B84
square
#791C84 #84451C #27841C #1C5B84
split-complementary
#791C84 #5B841C #1C8445
monochromatic
#1C071F #4B1152 #791C84 #A727B6 #C843D7

Accessibility & contrast

On white

9.08
#791C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#791C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C84
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C84#FFFFFF#000000##FFFFFF
##791C841.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#2E4C82
Tritanopia (blue-blind)
#7B304F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791c84;
/* rgb */ color: rgb(121, 28, 132);
/* oklch */ color: oklch(42.6% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#a364a8',
    500: '#791c84',
    950: '#000000',
  },
}
SCSS
$custom: #791c84;
$custom-light: #a364a8;
$custom-dark: #000000;
JSON
{
  "hex": "#791c84",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 293.654,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42642,
    "c": 0.17483,
    "h": 323.2
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#791C84
secondary
#51B745
accent
#E84052
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791C84

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

Preview Lab → · Contrast checker → · Palette generator →

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