#791E99#791E99

#791E99 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.191 H 315.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#791E99
RGBrgb(121, 30, 153)
HSLhsl(284, 67%, 36%)
HSVhsv(284, 80%, 60%)
CMYKcmyk(20.9%, 80.4%, 0%, 40%)
CIE-LABlab(32.47, 55.77, -47.72)
CIE-LCHlch(32.47, 73.40, 319.45°)
OKLaboklab(44.29% 0.1354 -0.1347)
OKLCHoklch(44.29% 0.191 315.1)
XYZxyz(14.0983, 7.2939, 30.7960)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E99 #3E991E
analogous
#3B1E99 #791E99 #991E7B
triadic
#791E99 #99791E #1E9979
tetradic
#791E99 #993B1E #3E991E #1E7B99
square
#791E99 #993B1E #3E991E #1E7B99
split-complementary
#791E99 #7B991E #1E993B
monochromatic
#280A33 #511466 #791E99 #A128CC #BA54DD

Accessibility & contrast

On white

8.54
#791E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#791E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E99
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E99#FFFFFF#000000##FFFFFF
##791E991.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#174F96
Tritanopia (blue-blind)
#763B5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #791e99;
/* rgb */ color: rgb(121, 30, 153);
/* oklch */ color: oklch(44.3% 0.191 315.1);
Tailwind
colors: {
  custom: {
    50: '#a466b8',
    500: '#791e99',
    950: '#000000',
  },
}
SCSS
$custom: #791e99;
$custom-light: #a466b8;
$custom-dark: #000000;
JSON
{
  "hex": "#791e99",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 284.39,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44289,
    "c": 0.19105,
    "h": 315.1
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#791E99
secondary
#6FC152
accent
#EA3E6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791E99

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

Preview Lab → · Contrast checker → · Palette generator →

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