#791E94#791E94

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

Color values

HEX#791E94
RGBrgb(121, 30, 148)
HSLhsl(286, 66%, 35%)
HSVhsv(286, 80%, 58%)
CMYKcmyk(18.2%, 79.7%, 0%, 42%)
CIE-LABlab(32.11, 54.77, -45.24)
CIE-LCHlch(32.11, 71.04, 320.44°)
OKLaboklab(43.92% 0.1363 -0.1275)
OKLCHoklch(43.92% 0.187 316.9)
XYZxyz(13.6939, 7.1322, 28.6666)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E94 #39941E
analogous
#3E1E94 #791E94 #941E74
triadic
#791E94 #94791E #1E9479
tetradic
#791E94 #943E1E #39941E #1E7494
square
#791E94 #943E1E #39941E #1E7494
split-complementary
#791E94 #74941E #1E943E
monochromatic
#26092E #4F1461 #791E94 #A328C7 #BC51DC

Accessibility & contrast

On white

8.65
#791E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791E94
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E94#FFFFFF#000000##FFFFFF
##791E941.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#1F4E91
Tritanopia (blue-blind)
#773959
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #791e94;
/* rgb */ color: rgb(121, 30, 148);
/* oklch */ color: oklch(43.9% 0.187 316.9);
Tailwind
colors: {
  custom: {
    50: '#a466b4',
    500: '#791e94',
    950: '#000000',
  },
}
SCSS
$custom: #791e94;
$custom-light: #a466b4;
$custom-dark: #000000;
JSON
{
  "hex": "#791e94",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 286.271,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43921,
    "c": 0.18664,
    "h": 316.9
  },
  "luminance": 0.07132
}

Semantic roles & 50–950 ramp

primary
#791E94
secondary
#69BF4F
accent
#E93F66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791E94

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

Preview Lab → · Contrast checker → · Palette generator →

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