#791D86#791D86

#791D86 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.175 H 322.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#791D86
RGBrgb(121, 29, 134)
HSLhsl(293, 64%, 32%)
HSVhsv(293, 78%, 53%)
CMYKcmyk(9.7%, 78.4%, 0%, 47.5%)
CIE-LABlab(31.03, 52.40, -38.31)
CIE-LCHlch(31.03, 64.91, 323.83°)
OKLaboklab(42.86% 0.139 -0.1072)
OKLCHoklch(42.86% 0.176 322.4)
XYZxyz(12.6272, 6.6656, 23.1711)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D86 #2A861D
analogous
#441D86 #791D86 #861D5F
triadic
#791D86 #86791D #1D8679
tetradic
#791D86 #86441D #2A861D #1D5F86
square
#791D86 #86441D #2A861D #1D5F86
split-complementary
#791D86 #5F861D #1D8644
monochromatic
#1E0721 #4C1254 #791D86 #A628B8 #C546D7

Accessibility & contrast

On white

9.00
#791D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791D86
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D86#FFFFFF#000000##FFFFFF
##791D861.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#2D4C84
Tritanopia (blue-blind)
#7B3251
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791d86;
/* rgb */ color: rgb(121, 29, 134);
/* oklch */ color: oklch(42.9% 0.175 322.4);
Tailwind
colors: {
  custom: {
    50: '#a364aa',
    500: '#791d86',
    950: '#000000',
  },
}
SCSS
$custom: #791d86;
$custom-light: #a364aa;
$custom-dark: #000000;
JSON
{
  "hex": "#791d86",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 292.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42857,
    "c": 0.1755,
    "h": 322.4
  },
  "luminance": 0.06665
}

Semantic roles & 50–950 ramp

primary
#791D86
secondary
#54B946
accent
#E74055
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791D86

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

Preview Lab → · Contrast checker → · Palette generator →

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