#791F93#791F93

#791F93 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.185 H 317.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#791F93
RGBrgb(121, 31, 147)
HSLhsl(287, 65%, 35%)
HSVhsv(287, 79%, 58%)
CMYKcmyk(17.7%, 78.9%, 0%, 42.4%)
CIE-LABlab(32.15, 54.23, -44.56)
CIE-LCHlch(32.15, 70.19, 320.59°)
OKLaboklab(43.93% 0.1356 -0.1255)
OKLCHoklch(43.93% 0.185 317.2)
XYZxyz(13.6408, 7.1521, 28.2601)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F93 #39931F
analogous
#3F1F93 #791F93 #931F73
triadic
#791F93 #93791F #1F9379
tetradic
#791F93 #933F1F #39931F #1F7393
square
#791F93 #933F1F #39931F #1F7393
split-complementary
#791F93 #73931F #1F933F
monochromatic
#260A2E #4F1460 #791F93 #A32AC6 #BC52DA

Accessibility & contrast

On white

8.64
#791F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#791F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F93
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F93#FFFFFF#000000##FFFFFF
##791F931.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#214E91
Tritanopia (blue-blind)
#783959
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #791f93;
/* rgb */ color: rgb(121, 31, 147);
/* oklch */ color: oklch(43.9% 0.185 317.2);
Tailwind
colors: {
  custom: {
    50: '#a466b3',
    500: '#791f93',
    950: '#000000',
  },
}
SCSS
$custom: #791f93;
$custom-light: #a466b3;
$custom-dark: #000000;
JSON
{
  "hex": "#791f93",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 286.552,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4393,
    "c": 0.18476,
    "h": 317.2
  },
  "luminance": 0.07152
}

Semantic roles & 50–950 ramp

primary
#791F93
secondary
#69BE50
accent
#E84065
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791F93

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

Preview Lab → · Contrast checker → · Palette generator →

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