#791E83#791E83

#791E83 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.172 H 323.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#791E83
RGBrgb(121, 30, 131)
HSLhsl(294, 63%, 32%)
HSVhsv(294, 77%, 51%)
CMYKcmyk(7.6%, 77.1%, 0%, 48.6%)
CIE-LABlab(30.96, 51.50, -36.57)
CIE-LCHlch(30.96, 63.16, 324.63°)
OKLaboklab(42.74% 0.1383 -0.1021)
OKLCHoklch(42.74% 0.172 323.6)
XYZxyz(12.4458, 6.6330, 22.0931)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E83 #28831E
analogous
#471E83 #791E83 #831E5B
triadic
#791E83 #83791E #1E8379
tetradic
#791E83 #83471E #28831E #1E5B83
square
#791E83 #83471E #28831E #1E5B83
split-complementary
#791E83 #5B831E #1E8347
monochromatic
#1D071F #4B1351 #791E83 #A729B5 #C747D5

Accessibility & contrast

On white

9.03
#791E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#791E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E83
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E83#FFFFFF#000000##FFFFFF
##791E831.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#304C81
Tritanopia (blue-blind)
#7B314F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791e83;
/* rgb */ color: rgb(121, 30, 131);
/* oklch */ color: oklch(42.7% 0.172 323.6);
Tailwind
colors: {
  custom: {
    50: '#a365a7',
    500: '#791e83',
    950: '#000000',
  },
}
SCSS
$custom: #791e83;
$custom-light: #a365a7;
$custom-dark: #000000;
JSON
{
  "hex": "#791e83",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 294.059,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.17188,
    "h": 323.6
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#791E83
secondary
#52B647
accent
#E64252
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791E83

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

Preview Lab → · Contrast checker → · Palette generator →

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