#791A99#791A99

#791A99 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.195 H 315.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#791A99
RGBrgb(121, 26, 153)
HSLhsl(285, 71%, 35%)
HSVhsv(285, 83%, 60%)
CMYKcmyk(20.9%, 83%, 0%, 40%)
CIE-LABlab(32.04, 57.00, -48.41)
CIE-LCHlch(32.04, 74.78, 319.66°)
OKLaboklab(43.99% 0.1385 -0.1367)
OKLCHoklch(43.99% 0.195 315.4)
XYZxyz(14.0034, 7.1042, 30.7644)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A99 #3A991A
analogous
#3A1A99 #791A99 #991A79
triadic
#791A99 #99791A #1A9979
tetradic
#791A99 #993A1A #3A991A #1A7999
square
#791A99 #993A1A #3A991A #1A7999
split-complementary
#791A99 #79991A #1A993A
monochromatic
#260830 #501165 #791A99 #A223CD #BB4DE1

Accessibility & contrast

On white

8.67
#791A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791A99
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A99#FFFFFF#000000##FFFFFF
##791A991.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#134E96
Tritanopia (blue-blind)
#763A5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791a99;
/* rgb */ color: rgb(121, 26, 153);
/* oklch */ color: oklch(44.0% 0.195 315.4);
Tailwind
colors: {
  custom: {
    50: '#a464b8',
    500: '#791a99',
    950: '#000000',
  },
}
SCSS
$custom: #791a99;
$custom-light: #a464b8;
$custom-dark: #000000;
JSON
{
  "hex": "#791a99",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 284.882,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43991,
    "c": 0.19465,
    "h": 315.4
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#791A99
secondary
#6AC34C
accent
#EE3A67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791A99

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

Preview Lab → · Contrast checker → · Palette generator →

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