#791C85#791C85

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

Color values

HEX#791C85
RGBrgb(121, 28, 133)
HSLhsl(293, 65%, 32%)
HSVhsv(293, 79%, 52%)
CMYKcmyk(9%, 78.9%, 0%, 47.8%)
CIE-LABlab(30.85, 52.54, -37.98)
CIE-LCHlch(30.85, 64.83, 324.14°)
OKLaboklab(42.71% 0.14 -0.1062)
OKLCHoklch(42.71% 0.176 322.8)
XYZxyz(12.5336, 6.5897, 22.7975)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C85 #28851C
analogous
#451C85 #791C85 #851C5D
triadic
#791C85 #85791C #1C8579
tetradic
#791C85 #85451C #28851C #1C5D85
square
#791C85 #85451C #28851C #1C5D85
split-complementary
#791C85 #5D851C #1C8545
monochromatic
#1D0720 #4B1152 #791C85 #A727B8 #C744D8

Accessibility & contrast

On white

9.06
#791C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791C85
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C85#FFFFFF#000000##FFFFFF
##791C851.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #791c85;
/* rgb */ color: rgb(121, 28, 133);
/* oklch */ color: oklch(42.7% 0.176 322.8);
Tailwind
colors: {
  custom: {
    50: '#a364a9',
    500: '#791c85',
    950: '#000000',
  },
}
SCSS
$custom: #791c85;
$custom-light: #a364a9;
$custom-dark: #000000;
JSON
{
  "hex": "#791c85",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 293.143,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42709,
    "c": 0.17568,
    "h": 322.8
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#791C85
secondary
#52B845
accent
#E84053
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791C85

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

Preview Lab → · Contrast checker → · Palette generator →

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