#791E96#791E96

#791E96 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.188 H 316.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#791E96
RGBrgb(121, 30, 150)
HSLhsl(286, 67%, 35%)
HSVhsv(286, 80%, 59%)
CMYKcmyk(19.3%, 80%, 0%, 41.2%)
CIE-LABlab(32.25, 55.16, -46.24)
CIE-LCHlch(32.25, 71.98, 320.03°)
OKLaboklab(44.07% 0.136 -0.1304)
OKLCHoklch(44.07% 0.188 316.2)
XYZxyz(13.8536, 7.1961, 29.5075)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E96 #3B961E
analogous
#3D1E96 #791E96 #961E77
triadic
#791E96 #96791E #1E9679
tetradic
#791E96 #963D1E #3B961E #1E7796
square
#791E96 #963D1E #3B961E #1E7796
split-complementary
#791E96 #77961E #1E963D
monochromatic
#270A30 #501463 #791E96 #A228C9 #BB52DC

Accessibility & contrast

On white

8.61
#791E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#791E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E96
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E96#FFFFFF#000000##FFFFFF
##791E961.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#1C4E93
Tritanopia (blue-blind)
#773A5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #791e96;
/* rgb */ color: rgb(121, 30, 150);
/* oklch */ color: oklch(44.1% 0.188 316.2);
Tailwind
colors: {
  custom: {
    50: '#a466b6',
    500: '#791e96',
    950: '#000000',
  },
}
SCSS
$custom: #791e96;
$custom-light: #a466b6;
$custom-dark: #000000;
JSON
{
  "hex": "#791e96",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 285.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44067,
    "c": 0.18841,
    "h": 316.2
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#791E96
secondary
#6BBF50
accent
#EA3E68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791E96

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

Preview Lab → · Contrast checker → · Palette generator →

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