#791E9E#791E9E

#791E9E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.196 H 313.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#791E9E
RGBrgb(121, 30, 158)
HSLhsl(283, 68%, 37%)
HSVhsv(283, 81%, 62%)
CMYKcmyk(23.4%, 81%, 0%, 38%)
CIE-LABlab(32.84, 56.78, -50.16)
CIE-LCHlch(32.84, 75.76, 318.54°)
OKLaboklab(44.67% 0.1344 -0.1419)
OKLCHoklch(44.67% 0.196 313.4)
XYZxyz(14.5199, 7.4626, 33.0167)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E9E #439E1E
analogous
#391E9E #791E9E #9E1E83
triadic
#791E9E #9E791E #1E9E79
tetradic
#791E9E #9E391E #439E1E #1E839E
square
#791E9E #9E391E #439E1E #1E839E
split-complementary
#791E9E #839E1E #1E9E39
monochromatic
#2A0A37 #52146B #791E9E #A028D1 #B857DF

Accessibility & contrast

On white

8.43
#791E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#791E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E9E
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E9E#FFFFFF#000000##FFFFFF
##791E9E1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#0B4F9B
Tritanopia (blue-blind)
#753E5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #791e9e;
/* rgb */ color: rgb(121, 30, 158);
/* oklch */ color: oklch(44.7% 0.196 313.4);
Tailwind
colors: {
  custom: {
    50: '#a466bb',
    500: '#791e9e',
    950: '#000000',
  },
}
SCSS
$custom: #791e9e;
$custom-light: #a466bb;
$custom-dark: #000000;
JSON
{
  "hex": "#791e9e",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 282.656,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44666,
    "c": 0.1955,
    "h": 313.4
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#791E9E
secondary
#75C355
accent
#EB3D6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #791E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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