#791A93#791A93

#791A93 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.189 H 317.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#791A93
RGBrgb(121, 26, 147)
HSLhsl(287, 70%, 34%)
HSVhsv(287, 82%, 58%)
CMYKcmyk(17.7%, 82.3%, 0%, 42.4%)
CIE-LABlab(31.60, 55.82, -45.44)
CIE-LCHlch(31.60, 71.98, 320.85°)
OKLaboklab(43.54% 0.1397 -0.128)
OKLCHoklch(43.54% 0.189 317.5)
XYZxyz(13.5202, 6.9109, 28.2199)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A93 #34931A
analogous
#3C1A93 #791A93 #931A71
triadic
#791A93 #93791A #1A9379
tetradic
#791A93 #933C1A #34931A #1A7193
square
#791A93 #933C1A #34931A #1A7193
split-complementary
#791A93 #71931A #1A933C
monochromatic
#23082B #4E115F #791A93 #A423C7 #BE49DF

Accessibility & contrast

On white

8.82
#791A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#791A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A93
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A93#FFFFFF#000000##FFFFFF
##791A931.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#1D4D90
Tritanopia (blue-blind)
#783758
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #791a93;
/* rgb */ color: rgb(121, 26, 147);
/* oklch */ color: oklch(43.5% 0.189 317.5);
Tailwind
colors: {
  custom: {
    50: '#a464b3',
    500: '#791a93',
    950: '#000000',
  },
}
SCSS
$custom: #791a93;
$custom-light: #a464b3;
$custom-dark: #000000;
JSON
{
  "hex": "#791a93",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 287.107,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43544,
    "c": 0.18949,
    "h": 317.5
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#791A93
secondary
#62C048
accent
#ED3B61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791A93

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

Preview Lab → · Contrast checker → · Palette generator →

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