#791E93#791E93

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

Color values

HEX#791E93
RGBrgb(121, 30, 147)
HSLhsl(287, 66%, 35%)
HSVhsv(287, 80%, 58%)
CMYKcmyk(17.7%, 79.6%, 0%, 42.4%)
CIE-LABlab(32.04, 54.57, -44.74)
CIE-LCHlch(32.04, 70.57, 320.65°)
OKLaboklab(43.85% 0.1365 -0.126)
OKLCHoklch(43.85% 0.186 317.3)
XYZxyz(13.6151, 7.1007, 28.2515)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E93 #38931E
analogous
#3F1E93 #791E93 #931E72
triadic
#791E93 #93791E #1E9379
tetradic
#791E93 #933F1E #38931E #1E7293
square
#791E93 #933F1E #38931E #1E7293
split-complementary
#791E93 #72931E #1E933F
monochromatic
#25092D #4F1460 #791E93 #A328C6 #BC50DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##791E93#FFFFFF#000000##FFFFFF
##791E931.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)
#004696
Deuteranopia (green-blind)
#214E90
Tritanopia (blue-blind)
#783858
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791e93;
/* rgb */ color: rgb(121, 30, 147);
/* oklch */ color: oklch(43.8% 0.186 317.3);
Tailwind
colors: {
  custom: {
    50: '#a465b3',
    500: '#791e93',
    950: '#000000',
  },
}
SCSS
$custom: #791e93;
$custom-light: #a465b3;
$custom-dark: #000000;
JSON
{
  "hex": "#791e93",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 286.667,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43848,
    "c": 0.18576,
    "h": 317.3
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#791E93
secondary
#67BE4F
accent
#E93F65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791E93

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

Preview Lab → · Contrast checker → · Palette generator →

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