#791D85#791D85

#791D85 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.175 H 322.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#791D85
RGBrgb(121, 29, 133)
HSLhsl(293, 64%, 32%)
HSVhsv(293, 78%, 52%)
CMYKcmyk(9%, 78.2%, 0%, 47.8%)
CIE-LABlab(30.97, 52.21, -37.80)
CIE-LCHlch(30.97, 64.46, 324.10°)
OKLaboklab(42.79% 0.1391 -0.1056)
OKLCHoklch(42.79% 0.175 322.8)
XYZxyz(12.5577, 6.6379, 22.8056)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791D85 #29851D
analogous
#451D85 #791D85 #851D5D
triadic
#791D85 #85791D #1D8579
tetradic
#791D85 #85451D #29851D #1D5D85
square
#791D85 #85451D #29851D #1D5D85
split-complementary
#791D85 #5D851D #1D8545
monochromatic
#1E0721 #4B1253 #791D85 #A728B7 #C646D7

Accessibility & contrast

On white

9.02
#791D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791D85
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791D85#FFFFFF#000000##FFFFFF
##791D851.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#2E4C83
Tritanopia (blue-blind)
#7B3150
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791d85;
/* rgb */ color: rgb(121, 29, 133);
/* oklch */ color: oklch(42.8% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#a364a9',
    500: '#791d85',
    950: '#000000',
  },
}
SCSS
$custom: #791d85;
$custom-light: #a364a9;
$custom-dark: #000000;
JSON
{
  "hex": "#791d85",
  "rgb": {
    "r": 121,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 293.077,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4279,
    "c": 0.17465,
    "h": 322.8
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#791D85
secondary
#53B846
accent
#E74154
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791D85

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

Preview Lab → · Contrast checker → · Palette generator →

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