#791A95#791A95

#791A95 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.191 H 316.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#791A95
RGBrgb(121, 26, 149)
HSLhsl(286, 70%, 34%)
HSVhsv(286, 83%, 58%)
CMYKcmyk(18.8%, 82.6%, 0%, 41.6%)
CIE-LABlab(31.75, 56.21, -46.43)
CIE-LCHlch(31.75, 72.91, 320.44°)
OKLaboklab(43.69% 0.1393 -0.1309)
OKLCHoklch(43.69% 0.191 316.8)
XYZxyz(13.6785, 6.9743, 29.0536)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A95 #36951A
analogous
#3B1A95 #791A95 #951A74
triadic
#791A95 #95791A #1A9579
tetradic
#791A95 #953B1A #36951A #1A7495
square
#791A95 #953B1A #36951A #1A7495
split-complementary
#791A95 #74951A #1A953B
monochromatic
#24082D #4F1161 #791A95 #A323C9 #BD4ADF

Accessibility & contrast

On white

8.77
#791A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#791A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A95
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A95#FFFFFF#000000##FFFFFF
##791A951.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791a95;
/* rgb */ color: rgb(121, 26, 149);
/* oklch */ color: oklch(43.7% 0.191 316.8);
Tailwind
colors: {
  custom: {
    50: '#a464b5',
    500: '#791a95',
    950: '#000000',
  },
}
SCSS
$custom: #791a95;
$custom-light: #a464b5;
$custom-dark: #000000;
JSON
{
  "hex": "#791a95",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 286.341,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43692,
    "c": 0.19121,
    "h": 316.8
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#791A95
secondary
#65C14A
accent
#ED3B63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791A95

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

Preview Lab → · Contrast checker → · Palette generator →

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