#791C83#791C83

#791C83 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.174 H 323.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#791C83
RGBrgb(121, 28, 131)
HSLhsl(294, 65%, 31%)
HSVhsv(294, 79%, 51%)
CMYKcmyk(7.6%, 78.6%, 0%, 48.6%)
CIE-LABlab(30.72, 52.17, -36.94)
CIE-LCHlch(30.72, 63.92, 324.70°)
OKLaboklab(42.58% 0.1401 -0.1031)
OKLCHoklch(42.58% 0.174 323.6)
XYZxyz(12.3968, 6.5349, 22.0767)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C83 #26831C
analogous
#451C83 #791C83 #831C59
triadic
#791C83 #83791C #1C8379
tetradic
#791C83 #83451C #26831C #1C5983
square
#791C83 #83451C #26831C #1C5983
split-complementary
#791C83 #59831C #1C8345
monochromatic
#1C061E #4A1151 #791C83 #A827B5 #C843D7

Accessibility & contrast

On white

9.10
#791C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#791C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C83
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C83#FFFFFF#000000##FFFFFF
##791C831.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#7B304F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791c83;
/* rgb */ color: rgb(121, 28, 131);
/* oklch */ color: oklch(42.6% 0.174 323.6);
Tailwind
colors: {
  custom: {
    50: '#a364a7',
    500: '#791c83',
    950: '#000000',
  },
}
SCSS
$custom: #791c83;
$custom-light: #a364a7;
$custom-dark: #000000;
JSON
{
  "hex": "#791c83",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 294.175,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42575,
    "c": 0.174,
    "h": 323.6
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#791C83
secondary
#50B645
accent
#E84050
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791C83

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

Preview Lab → · Contrast checker → · Palette generator →

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