#791E95#791E95

#791E95 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.188 H 316.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#791E95
RGBrgb(121, 30, 149)
HSLhsl(286, 66%, 35%)
HSVhsv(286, 80%, 58%)
CMYKcmyk(18.8%, 79.9%, 0%, 41.6%)
CIE-LABlab(32.18, 54.96, -45.74)
CIE-LCHlch(32.18, 71.51, 320.23°)
OKLaboklab(43.99% 0.1362 -0.1289)
OKLCHoklch(43.99% 0.188 316.6)
XYZxyz(13.7734, 7.1640, 29.0852)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E95 #3A951E
analogous
#3D1E95 #791E95 #951E76
triadic
#791E95 #95791E #1E9579
tetradic
#791E95 #953D1E #3A951E #1E7695
square
#791E95 #953D1E #3A951E #1E7695
split-complementary
#791E95 #76951E #1E953D
monochromatic
#26092F #501462 #791E95 #A228C8 #BB51DC

Accessibility & contrast

On white

8.63
#791E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#791E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E95
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E95#FFFFFF#000000##FFFFFF
##791E951.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#1E4E92
Tritanopia (blue-blind)
#77395A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #791e95;
/* rgb */ color: rgb(121, 30, 149);
/* oklch */ color: oklch(44.0% 0.188 316.6);
Tailwind
colors: {
  custom: {
    50: '#a466b5',
    500: '#791e95',
    950: '#000000',
  },
}
SCSS
$custom: #791e95;
$custom-light: #a466b5;
$custom-dark: #000000;
JSON
{
  "hex": "#791e95",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 285.882,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43994,
    "c": 0.18752,
    "h": 316.6
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#791E95
secondary
#6ABF50
accent
#E93E67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791E95

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

Preview Lab → · Contrast checker → · Palette generator →

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