#791B95#791B95

#791B95 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.8% C 0.190 H 316.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#791B95
RGBrgb(121, 27, 149)
HSLhsl(286, 69%, 35%)
HSVhsv(286, 82%, 58%)
CMYKcmyk(18.8%, 81.9%, 0%, 41.6%)
CIE-LABlab(31.85, 55.91, -46.27)
CIE-LCHlch(31.85, 72.57, 320.39°)
OKLaboklab(43.76% 0.1386 -0.1305)
OKLCHoklch(43.76% 0.19 316.7)
XYZxyz(13.7011, 7.0193, 29.0611)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791B95 #37951B
analogous
#3C1B95 #791B95 #951B74
triadic
#791B95 #95791B #1B9579
tetradic
#791B95 #953C1B #37951B #1B7495
square
#791B95 #953C1B #37951B #1B7495
split-complementary
#791B95 #74951B #1B953C
monochromatic
#25082D #4F1261 #791B95 #A324C9 #BD4CDF

Accessibility & contrast

On white

8.74
#791B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#791B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791B95
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791B95#FFFFFF#000000##FFFFFF
##791B951.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#1B4D92
Tritanopia (blue-blind)
#773859
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791b95;
/* rgb */ color: rgb(121, 27, 149);
/* oklch */ color: oklch(43.8% 0.190 316.7);
Tailwind
colors: {
  custom: {
    50: '#a464b5',
    500: '#791b95',
    950: '#000000',
  },
}
SCSS
$custom: #791b95;
$custom-light: #a464b5;
$custom-dark: #000000;
JSON
{
  "hex": "#791b95",
  "rgb": {
    "r": 121,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 286.23,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43764,
    "c": 0.19033,
    "h": 316.7
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#791B95
secondary
#66C14B
accent
#EC3C64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791B95

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

Preview Lab → · Contrast checker → · Palette generator →

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