#791F94#791F94

#791F94 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.186 H 316.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#791F94
RGBrgb(121, 31, 148)
HSLhsl(286, 65%, 35%)
HSVhsv(286, 79%, 58%)
CMYKcmyk(18.2%, 79.1%, 0%, 42%)
CIE-LABlab(32.22, 54.43, -45.06)
CIE-LCHlch(32.22, 70.66, 320.38°)
OKLaboklab(44% 0.1355 -0.1269)
OKLCHoklch(44% 0.186 316.9)
XYZxyz(13.7196, 7.1836, 28.6751)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F94 #3A941F
analogous
#3F1F94 #791F94 #941F74
triadic
#791F94 #94791F #1F9479
tetradic
#791F94 #943F1F #3A941F #1F7494
square
#791F94 #943F1F #3A941F #1F7494
split-complementary
#791F94 #74941F #1F943F
monochromatic
#260A2F #501461 #791F94 #A22AC7 #BB53DB

Accessibility & contrast

On white

8.62
#791F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791F94
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F94#FFFFFF#000000##FFFFFF
##791F941.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791f94;
/* rgb */ color: rgb(121, 31, 148);
/* oklch */ color: oklch(44.0% 0.186 316.9);
Tailwind
colors: {
  custom: {
    50: '#a466b4',
    500: '#791f94',
    950: '#000000',
  },
}
SCSS
$custom: #791f94;
$custom-light: #a466b4;
$custom-dark: #000000;
JSON
{
  "hex": "#791f94",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 286.154,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44002,
    "c": 0.18565,
    "h": 316.9
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#791F94
secondary
#6ABE51
accent
#E83F66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791F94

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

Preview Lab → · Contrast checker → · Palette generator →

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