#791C99#791C99

#791C99 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.193 H 315.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#791C99
RGBrgb(121, 28, 153)
HSLhsl(285, 69%, 35%)
HSVhsv(285, 82%, 60%)
CMYKcmyk(20.9%, 81.7%, 0%, 40%)
CIE-LABlab(32.25, 56.40, -48.07)
CIE-LCHlch(32.25, 74.11, 319.56°)
OKLaboklab(44.14% 0.137 -0.1358)
OKLCHoklch(44.14% 0.193 315.3)
XYZxyz(14.0492, 7.1959, 30.7797)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C99 #3C991C
analogous
#3A1C99 #791C99 #991C7A
triadic
#791C99 #99791C #1C9979
tetradic
#791C99 #993A1C #3C991C #1C7A99
square
#791C99 #993A1C #3C991C #1C7A99
split-complementary
#791C99 #7A991C #1C993A
monochromatic
#270932 #501365 #791C99 #A225CD #BB50DF

Accessibility & contrast

On white

8.61
#791C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791C99
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C99#FFFFFF#000000##FFFFFF
##791C991.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#154E96
Tritanopia (blue-blind)
#763A5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #791c99;
/* rgb */ color: rgb(121, 28, 153);
/* oklch */ color: oklch(44.1% 0.193 315.3);
Tailwind
colors: {
  custom: {
    50: '#a465b8',
    500: '#791c99',
    950: '#000000',
  },
}
SCSS
$custom: #791c99;
$custom-light: #a465b8;
$custom-dark: #000000;
JSON
{
  "hex": "#791c99",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 284.64,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44136,
    "c": 0.1929,
    "h": 315.3
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#791C99
secondary
#6CC24F
accent
#EC3C69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791C99

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

Preview Lab → · Contrast checker → · Palette generator →

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