#791D83#791D83

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

Color values

HEX#791D83
RGBrgb(121, 29, 131)
HSLhsl(294, 64%, 31%)
HSVhsv(294, 78%, 51%)
CMYKcmyk(7.6%, 77.9%, 0%, 48.6%)
CIE-LABlab(30.84, 51.84, -36.75)
CIE-LCHlch(30.84, 63.55, 324.66°)
OKLaboklab(42.66% 0.1392 -0.1026)
OKLCHoklch(42.66% 0.173 323.6)
XYZxyz(12.4209, 6.5831, 22.0848)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D83 #27831D
analogous
#461D83 #791D83 #831D5A
triadic
#791D83 #83791D #1D8379
tetradic
#791D83 #83461D #27831D #1D5A83
square
#791D83 #83461D #27831D #1D5A83
split-complementary
#791D83 #5A831D #1D8346
monochromatic
#1C071F #4B1251 #791D83 #A728B5 #C845D6

Accessibility & contrast

On white

9.07
#791D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#791D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791D83
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D83#FFFFFF#000000##FFFFFF
##791D831.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791d83;
/* rgb */ color: rgb(121, 29, 131);
/* oklch */ color: oklch(42.7% 0.173 323.6);
Tailwind
colors: {
  custom: {
    50: '#a364a7',
    500: '#791d83',
    950: '#000000',
  },
}
SCSS
$custom: #791d83;
$custom-light: #a364a7;
$custom-dark: #000000;
JSON
{
  "hex": "#791d83",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 294.118,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42657,
    "c": 0.17295,
    "h": 323.6
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#791D83
secondary
#51B646
accent
#E74151
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791D83

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

Preview Lab → · Contrast checker → · Palette generator →

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