#791D89#791D89

#791D89 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.178 H 321.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#791D89
RGBrgb(121, 29, 137)
HSLhsl(291, 65%, 33%)
HSVhsv(291, 79%, 54%)
CMYKcmyk(11.7%, 78.8%, 0%, 46.3%)
CIE-LABlab(31.23, 52.96, -39.86)
CIE-LCHlch(31.23, 66.29, 323.03°)
OKLaboklab(43.06% 0.1387 -0.1117)
OKLCHoklch(43.06% 0.178 321.2)
XYZxyz(12.8394, 6.7505, 24.2888)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D89 #2D891D
analogous
#431D89 #791D89 #891D63
triadic
#791D89 #89791D #1D8979
tetradic
#791D89 #89431D #2D891D #1D6389
square
#791D89 #89431D #2D891D #1D6389
split-complementary
#791D89 #63891D #1D8943
monochromatic
#200824 #4C1256 #791D89 #A628BC #C348D8

Accessibility & contrast

On white

8.94
#791D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#791D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D89
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D89#FFFFFF#000000##FFFFFF
##791D891.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#2B4D87
Tritanopia (blue-blind)
#7A3352
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791d89;
/* rgb */ color: rgb(121, 29, 137);
/* oklch */ color: oklch(43.1% 0.178 321.2);
Tailwind
colors: {
  custom: {
    50: '#a365ac',
    500: '#791d89',
    950: '#000000',
  },
}
SCSS
$custom: #791d89;
$custom-light: #a365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#791d89",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 291.111,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.17806,
    "h": 321.2
  },
  "luminance": 0.0675
}

Semantic roles & 50–950 ramp

primary
#791D89
secondary
#58BA47
accent
#E84059
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791D89

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

Preview Lab → · Contrast checker → · Palette generator →

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