#791F95#791F95

#791F95 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.187 H 316.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#791F95
RGBrgb(121, 31, 149)
HSLhsl(286, 66%, 35%)
HSVhsv(286, 79%, 58%)
CMYKcmyk(18.8%, 79.2%, 0%, 41.6%)
CIE-LABlab(32.29, 54.63, -45.56)
CIE-LCHlch(32.29, 71.13, 320.18°)
OKLaboklab(44.08% 0.1353 -0.1284)
OKLCHoklch(44.08% 0.187 316.5)
XYZxyz(13.7991, 7.2154, 29.0938)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F95 #3B951F
analogous
#3E1F95 #791F95 #951F76
triadic
#791F95 #95791F #1F9579
tetradic
#791F95 #953E1F #3B951F #1F7695
square
#791F95 #953E1F #3B951F #1F7695
split-complementary
#791F95 #76951F #1F953E
monochromatic
#270A30 #501462 #791F95 #A22AC8 #BB53DB

Accessibility & contrast

On white

8.60
#791F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#791F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F95
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F95#FFFFFF#000000##FFFFFF
##791F951.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#1F4E92
Tritanopia (blue-blind)
#773A5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #791f95;
/* rgb */ color: rgb(121, 31, 149);
/* oklch */ color: oklch(44.1% 0.187 316.5);
Tailwind
colors: {
  custom: {
    50: '#a466b5',
    500: '#791f95',
    950: '#000000',
  },
}
SCSS
$custom: #791f95;
$custom-light: #a466b5;
$custom-dark: #000000;
JSON
{
  "hex": "#791f95",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 285.763,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44075,
    "c": 0.18654,
    "h": 316.5
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#791F95
secondary
#6BBF51
accent
#E93F67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791F95

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

Preview Lab → · Contrast checker → · Palette generator →

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