#791A96#791A96

#791A96 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.8% C 0.192 H 316.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#791A96
RGBrgb(121, 26, 150)
HSLhsl(286, 70%, 35%)
HSVhsv(286, 83%, 59%)
CMYKcmyk(19.3%, 82.7%, 0%, 41.2%)
CIE-LABlab(31.82, 56.41, -46.93)
CIE-LCHlch(31.82, 73.38, 320.24°)
OKLaboklab(43.77% 0.1391 -0.1324)
OKLCHoklch(43.77% 0.192 316.4)
XYZxyz(13.7587, 7.0063, 29.4759)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A96 #37961A
analogous
#3B1A96 #791A96 #961A75
triadic
#791A96 #96791A #1A9679
tetradic
#791A96 #963B1A #37961A #1A7596
square
#791A96 #963B1A #37961A #1A7596
split-complementary
#791A96 #75961A #1A963B
monochromatic
#25082E #4F1162 #791A96 #A323CA #BD4BE0

Accessibility & contrast

On white

8.75
#791A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#791A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A96
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A96#FFFFFF#000000##FFFFFF
##791A961.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#194D93
Tritanopia (blue-blind)
#773859
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791a96;
/* rgb */ color: rgb(121, 26, 150);
/* oklch */ color: oklch(43.8% 0.192 316.4);
Tailwind
colors: {
  custom: {
    50: '#a464b6',
    500: '#791a96',
    950: '#000000',
  },
}
SCSS
$custom: #791a96;
$custom-light: #a464b6;
$custom-dark: #000000;
JSON
{
  "hex": "#791a96",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 285.968,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43766,
    "c": 0.19206,
    "h": 316.4
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#791A96
secondary
#66C24A
accent
#ED3B64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791A96

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

Preview Lab → · Contrast checker → · Palette generator →

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