#791E97#791E97

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

Color values

HEX#791E97
RGBrgb(121, 30, 151)
HSLhsl(285, 67%, 35%)
HSVhsv(285, 80%, 59%)
CMYKcmyk(19.9%, 80.1%, 0%, 40.8%)
CIE-LABlab(32.32, 55.36, -46.73)
CIE-LCHlch(32.32, 72.45, 319.83°)
OKLaboklab(44.14% 0.1358 -0.1318)
OKLCHoklch(44.14% 0.189 315.8)
XYZxyz(13.9345, 7.2284, 29.9334)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E97 #3C971E
analogous
#3C1E97 #791E97 #971E78
triadic
#791E97 #97791E #1E9779
tetradic
#791E97 #973C1E #3C971E #1E7897
square
#791E97 #973C1E #3C971E #1E7897
split-complementary
#791E97 #78971E #1E973C
monochromatic
#270A31 #501464 #791E97 #A228CA #BB53DD

Accessibility & contrast

On white

8.59
#791E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#791E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E97
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E97#FFFFFF#000000##FFFFFF
##791E971.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#1B4E94
Tritanopia (blue-blind)
#773A5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #791e97;
/* rgb */ color: rgb(121, 30, 151);
/* oklch */ color: oklch(44.1% 0.189 315.8);
Tailwind
colors: {
  custom: {
    50: '#a466b6',
    500: '#791e97',
    950: '#000000',
  },
}
SCSS
$custom: #791e97;
$custom-light: #a466b6;
$custom-dark: #000000;
JSON
{
  "hex": "#791e97",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 285.124,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.18928,
    "h": 315.8
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#791E97
secondary
#6CC051
accent
#EA3E69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791E97

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

Preview Lab → · Contrast checker → · Palette generator →

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