#791C93#791C93

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

Color values

HEX#791C93
RGBrgb(121, 28, 147)
HSLhsl(287, 68%, 34%)
HSVhsv(287, 81%, 58%)
CMYKcmyk(17.7%, 81%, 0%, 42.4%)
CIE-LABlab(31.81, 55.21, -45.10)
CIE-LCHlch(31.81, 71.29, 320.75°)
OKLaboklab(43.69% 0.1381 -0.127)
OKLCHoklch(43.69% 0.188 317.4)
XYZxyz(13.5661, 7.0026, 28.2352)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C93 #36931C
analogous
#3E1C93 #791C93 #931C72
triadic
#791C93 #93791C #1C9379
tetradic
#791C93 #933E1C #36931C #1C7293
square
#791C93 #933E1C #36931C #1C7293
split-complementary
#791C93 #72931C #1C933E
monochromatic
#24082C #4F1260 #791C93 #A326C6 #BD4CDD

Accessibility & contrast

On white

8.75
#791C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791C93
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C93#FFFFFF#000000##FFFFFF
##791C931.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#1F4D90
Tritanopia (blue-blind)
#783858
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791c93;
/* rgb */ color: rgb(121, 28, 147);
/* oklch */ color: oklch(43.7% 0.188 317.4);
Tailwind
colors: {
  custom: {
    50: '#a465b3',
    500: '#791c93',
    950: '#000000',
  },
}
SCSS
$custom: #791c93;
$custom-light: #a465b3;
$custom-dark: #000000;
JSON
{
  "hex": "#791c93",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 286.891,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43692,
    "c": 0.18767,
    "h": 317.4
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#791C93
secondary
#65BF4C
accent
#EB3D63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791C93

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

Preview Lab → · Contrast checker → · Palette generator →

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