#791A9E#791A9E

#791A9E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.199 H 313.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#791A9E
RGBrgb(121, 26, 158)
HSLhsl(283, 72%, 36%)
HSVhsv(283, 84%, 62%)
CMYKcmyk(23.4%, 83.5%, 0%, 38%)
CIE-LABlab(32.42, 58.00, -50.84)
CIE-LCHlch(32.42, 77.13, 318.76°)
OKLaboklab(44.37% 0.1374 -0.1439)
OKLCHoklch(44.37% 0.199 313.7)
XYZxyz(14.4250, 7.2728, 32.9851)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A9E #3F9E1A
analogous
#371A9E #791A9E #9E1A81
triadic
#791A9E #9E791A #1A9E79
tetradic
#791A9E #9E371A #3F9E1A #1A819E
square
#791A9E #9E371A #3F9E1A #1A819E
split-complementary
#791A9E #819E1A #1A9E37
monochromatic
#290935 #511169 #791A9E #A123D3 #B950E2

Accessibility & contrast

On white

8.56
#791A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#791A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791A9E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A9E#FFFFFF#000000##FFFFFF
##791A9E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#044E9B
Tritanopia (blue-blind)
#753C5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #791a9e;
/* rgb */ color: rgb(121, 26, 158);
/* oklch */ color: oklch(44.4% 0.199 313.7);
Tailwind
colors: {
  custom: {
    50: '#a465bb',
    500: '#791a9e',
    950: '#000000',
  },
}
SCSS
$custom: #791a9e;
$custom-light: #a465bb;
$custom-dark: #000000;
JSON
{
  "hex": "#791a9e",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 283.182,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44374,
    "c": 0.19898,
    "h": 313.7
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#791A9E
secondary
#70C54F
accent
#EE396C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #791A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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