#791C86#791C86

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

Color values

HEX#791C86
RGBrgb(121, 28, 134)
HSLhsl(293, 65%, 32%)
HSVhsv(293, 79%, 53%)
CMYKcmyk(9.7%, 79.1%, 0%, 47.5%)
CIE-LABlab(30.92, 52.73, -38.50)
CIE-LCHlch(30.92, 65.28, 323.87°)
OKLaboklab(42.78% 0.1399 -0.1077)
OKLCHoklch(42.78% 0.177 322.4)
XYZxyz(12.6030, 6.6174, 23.1631)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C86 #29861C
analogous
#441C86 #791C86 #861C5E
triadic
#791C86 #86791C #1C8679
tetradic
#791C86 #86441C #29861C #1C5E86
square
#791C86 #86441C #29861C #1C5E86
split-complementary
#791C86 #5E861C #1C8644
monochromatic
#1E0721 #4B1153 #791C86 #A727B9 #C644D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791C86#FFFFFF#000000##FFFFFF
##791C861.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)
#004289
Deuteranopia (green-blind)
#2D4C84
Tritanopia (blue-blind)
#7B3151
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791c86;
/* rgb */ color: rgb(121, 28, 134);
/* oklch */ color: oklch(42.8% 0.177 322.4);
Tailwind
colors: {
  custom: {
    50: '#a364aa',
    500: '#791c86',
    950: '#000000',
  },
}
SCSS
$custom: #791c86;
$custom-light: #a364aa;
$custom-dark: #000000;
JSON
{
  "hex": "#791c86",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 292.642,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42777,
    "c": 0.17652,
    "h": 322.4
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#791C86
secondary
#53B945
accent
#E83F54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791C86

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

Preview Lab → · Contrast checker → · Palette generator →

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