#791E84#791E84

#791E84 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.173 H 323.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#791E84
RGBrgb(121, 30, 132)
HSLhsl(294, 63%, 32%)
HSVhsv(294, 77%, 52%)
CMYKcmyk(8.3%, 77.3%, 0%, 48.2%)
CIE-LABlab(31.02, 51.69, -37.09)
CIE-LCHlch(31.02, 63.62, 324.34°)
OKLaboklab(42.81% 0.1382 -0.1036)
OKLCHoklch(42.81% 0.173 323.2)
XYZxyz(12.5139, 6.6602, 22.4517)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E84 #29841E
analogous
#461E84 #791E84 #841E5C
triadic
#791E84 #84791E #1E8479
tetradic
#791E84 #84461E #29841E #1E5C84
square
#791E84 #84461E #29841E #1E5C84
split-complementary
#791E84 #5C841E #1E8446
monochromatic
#1E0720 #4B1352 #791E84 #A729B6 #C647D5

Accessibility & contrast

On white

9.01
#791E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#791E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E84
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E84#FFFFFF#000000##FFFFFF
##791E841.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.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: #791e84;
/* rgb */ color: rgb(121, 30, 132);
/* oklch */ color: oklch(42.8% 0.173 323.2);
Tailwind
colors: {
  custom: {
    50: '#a365a8',
    500: '#791e84',
    950: '#000000',
  },
}
SCSS
$custom: #791e84;
$custom-light: #a365a8;
$custom-dark: #000000;
JSON
{
  "hex": "#791e84",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 293.529,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.17274,
    "h": 323.2
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#791E84
secondary
#53B747
accent
#E64254
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791E84

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

Preview Lab → · Contrast checker → · Palette generator →

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