#791C96#791C96

#791C96 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.190 H 316.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#791C96
RGBrgb(121, 28, 150)
HSLhsl(286, 69%, 35%)
HSVhsv(286, 81%, 59%)
CMYKcmyk(19.3%, 81.3%, 0%, 41.2%)
CIE-LABlab(32.03, 55.80, -46.59)
CIE-LCHlch(32.03, 72.70, 320.14°)
OKLaboklab(43.91% 0.1376 -0.1314)
OKLCHoklch(43.91% 0.19 316.3)
XYZxyz(13.8046, 7.0980, 29.4911)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C96 #39961C
analogous
#3C1C96 #791C96 #961C76
triadic
#791C96 #96791C #1C9679
tetradic
#791C96 #963C1C #39961C #1C7696
square
#791C96 #963C1C #39961C #1C7696
split-complementary
#791C96 #76961C #1C963C
monochromatic
#26092F #4F1262 #791C96 #A326CA #BC4EDE

Accessibility & contrast

On white

8.68
#791C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#791C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C96
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C96#FFFFFF#000000##FFFFFF
##791C961.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#1B4E93
Tritanopia (blue-blind)
#77395A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791c96;
/* rgb */ color: rgb(121, 28, 150);
/* oklch */ color: oklch(43.9% 0.190 316.3);
Tailwind
colors: {
  custom: {
    50: '#a465b6',
    500: '#791c96',
    950: '#000000',
  },
}
SCSS
$custom: #791c96;
$custom-light: #a465b6;
$custom-dark: #000000;
JSON
{
  "hex": "#791c96",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 285.738,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43912,
    "c": 0.19028,
    "h": 316.3
  },
  "luminance": 0.07097
}

Semantic roles & 50–950 ramp

primary
#791C96
secondary
#69C14D
accent
#EB3C66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791C96

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

Preview Lab → · Contrast checker → · Palette generator →

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