#791E9A#791E9A

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

Color values

HEX#791E9A
RGBrgb(121, 30, 154)
HSLhsl(284, 67%, 36%)
HSVhsv(284, 81%, 60%)
CMYKcmyk(21.4%, 80.5%, 0%, 39.6%)
CIE-LABlab(32.54, 55.97, -48.21)
CIE-LCHlch(32.54, 73.87, 319.26°)
OKLaboklab(44.36% 0.1353 -0.1362)
OKLCHoklch(44.36% 0.192 314.8)
XYZxyz(14.1812, 7.3271, 31.2328)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E9A #3F9A1E
analogous
#3B1E9A #791E9A #9A1E7D
triadic
#791E9A #9A791E #1E9A79
tetradic
#791E9A #9A3B1E #3F9A1E #1E7D9A
square
#791E9A #9A3B1E #3F9A1E #1E7D9A
split-complementary
#791E9A #7D9A1E #1E9A3B
monochromatic
#290A34 #511467 #791E9A #A128CD #B955DE

Accessibility & contrast

On white

8.52
#791E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#791E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E9A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E9A#FFFFFF#000000##FFFFFF
##791E9A1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#154F97
Tritanopia (blue-blind)
#763C5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #791e9a;
/* rgb */ color: rgb(121, 30, 154);
/* oklch */ color: oklch(44.4% 0.192 314.8);
Tailwind
colors: {
  custom: {
    50: '#a466b8',
    500: '#791e9a',
    950: '#000000',
  },
}
SCSS
$custom: #791e9a;
$custom-light: #a466b8;
$custom-dark: #000000;
JSON
{
  "hex": "#791e9a",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 284.032,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44363,
    "c": 0.19194,
    "h": 314.8
  },
  "luminance": 0.07327
}

Semantic roles & 50–950 ramp

primary
#791E9A
secondary
#70C153
accent
#EA3E6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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