#791E89#791E89

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

Color values

HEX#791E89
RGBrgb(121, 30, 137)
HSLhsl(291, 64%, 33%)
HSVhsv(291, 78%, 54%)
CMYKcmyk(11.7%, 78.1%, 0%, 46.3%)
CIE-LABlab(31.35, 52.63, -39.68)
CIE-LCHlch(31.35, 65.91, 322.99°)
OKLaboklab(43.14% 0.1378 -0.1112)
OKLCHoklch(43.14% 0.177 321.1)
XYZxyz(12.8643, 6.8003, 24.2971)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E89 #2E891E
analogous
#431E89 #791E89 #891E63
triadic
#791E89 #89791E #1E8979
tetradic
#791E89 #89431E #2E891E #1E6389
square
#791E89 #89431E #2E891E #1E6389
split-complementary
#791E89 #63891E #1E8943
monochromatic
#200825 #4D1357 #791E89 #A529BB #C24AD7

Accessibility & contrast

On white

8.90
#791E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#791E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E89
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E89#FFFFFF#000000##FFFFFF
##791E891.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#2B4D87
Tritanopia (blue-blind)
#7A3453
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #791e89;
/* rgb */ color: rgb(121, 30, 137);
/* oklch */ color: oklch(43.1% 0.177 321.1);
Tailwind
colors: {
  custom: {
    50: '#a365ac',
    500: '#791e89',
    950: '#000000',
  },
}
SCSS
$custom: #791e89;
$custom-light: #a365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#791e89",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 291.028,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43144,
    "c": 0.17704,
    "h": 321.1
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#791E89
secondary
#5ABA49
accent
#E7415A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791E89

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

Preview Lab → · Contrast checker → · Palette generator →

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