#791A89#791A89

#791A89 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.181 H 321.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#791A89
RGBrgb(121, 26, 137)
HSLhsl(291, 68%, 32%)
HSVhsv(291, 81%, 54%)
CMYKcmyk(11.7%, 81%, 0%, 46.3%)
CIE-LABlab(30.90, 53.91, -40.39)
CIE-LCHlch(30.90, 67.36, 323.16°)
OKLaboklab(42.83% 0.1412 -0.1132)
OKLCHoklch(42.83% 0.181 321.3)
XYZxyz(12.7694, 6.6106, 24.2654)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A89 #2A891A
analogous
#411A89 #791A89 #891A62
triadic
#791A89 #89791A #1A8979
tetradic
#791A89 #89411A #2A891A #1A6289
square
#791A89 #89411A #2A891A #1A6289
split-complementary
#791A89 #62891A #1A8941
monochromatic
#1E0622 #4C1056 #791A89 #A624BC #C542DB

Accessibility & contrast

On white

9.04
#791A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#791A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A89
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A89#FFFFFF#000000##FFFFFF
##791A891.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#294C87
Tritanopia (blue-blind)
#7A3252
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791a89;
/* rgb */ color: rgb(121, 26, 137);
/* oklch */ color: oklch(42.8% 0.181 321.3);
Tailwind
colors: {
  custom: {
    50: '#a363ac',
    500: '#791a89',
    950: '#000000',
  },
}
SCSS
$custom: #791a89;
$custom-light: #a363ac;
$custom-dark: #000000;
JSON
{
  "hex": "#791a89",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 291.351,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42829,
    "c": 0.181,
    "h": 321.3
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#791A89
secondary
#54BC43
accent
#EB3D56
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791A89

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

Preview Lab → · Contrast checker → · Palette generator →

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