#791A94#791A94

#791A94 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.6% C 0.190 H 317.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#791A94
RGBrgb(121, 26, 148)
HSLhsl(287, 70%, 34%)
HSVhsv(287, 82%, 58%)
CMYKcmyk(18.2%, 82.4%, 0%, 42%)
CIE-LABlab(31.68, 56.01, -45.94)
CIE-LCHlch(31.68, 72.44, 320.64°)
OKLaboklab(43.62% 0.1395 -0.1295)
OKLCHoklch(43.62% 0.19 317.1)
XYZxyz(13.5991, 6.9425, 28.6349)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791A94 #35941A
analogous
#3C1A94 #791A94 #941A72
triadic
#791A94 #94791A #1A9479
tetradic
#791A94 #943C1A #35941A #1A7294
square
#791A94 #943C1A #35941A #1A7294
split-complementary
#791A94 #72941A #1A943C
monochromatic
#24082C #4E1160 #791A94 #A423C8 #BE49DF

Accessibility & contrast

On white

8.79
#791A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791A94
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791A94#FFFFFF#000000##FFFFFF
##791A941.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#1C4D91
Tritanopia (blue-blind)
#783758
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791a94;
/* rgb */ color: rgb(121, 26, 148);
/* oklch */ color: oklch(43.6% 0.190 317.1);
Tailwind
colors: {
  custom: {
    50: '#a464b4',
    500: '#791a94',
    950: '#000000',
  },
}
SCSS
$custom: #791a94;
$custom-light: #a464b4;
$custom-dark: #000000;
JSON
{
  "hex": "#791a94",
  "rgb": {
    "r": 121,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 286.721,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43618,
    "c": 0.19034,
    "h": 317.1
  },
  "luminance": 0.06942
}

Semantic roles & 50–950 ramp

primary
#791A94
secondary
#63C149
accent
#ED3B62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791A94

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

Preview Lab → · Contrast checker → · Palette generator →

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