#791E85#791E85

#791E85 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.174 H 322.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#791E85
RGBrgb(121, 30, 133)
HSLhsl(293, 63%, 32%)
HSVhsv(293, 77%, 52%)
CMYKcmyk(9%, 77.4%, 0%, 47.8%)
CIE-LABlab(31.09, 51.88, -37.61)
CIE-LCHlch(31.09, 64.07, 324.06°)
OKLaboklab(42.87% 0.1382 -0.1051)
OKLCHoklch(42.87% 0.174 322.7)
XYZxyz(12.5827, 6.6877, 22.8139)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E85 #2A851E
analogous
#461E85 #791E85 #851E5E
triadic
#791E85 #85791E #1E8579
tetradic
#791E85 #85461E #2A851E #1E5E85
square
#791E85 #85461E #2A851E #1E5E85
split-complementary
#791E85 #5E851E #1E8546
monochromatic
#1E0721 #4C1353 #791E85 #A629B7 #C548D6

Accessibility & contrast

On white

8.98
#791E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#791E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E85
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E85#FFFFFF#000000##FFFFFF
##791E851.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#2F4D83
Tritanopia (blue-blind)
#7B3250
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791e85;
/* rgb */ color: rgb(121, 30, 133);
/* oklch */ color: oklch(42.9% 0.174 322.7);
Tailwind
colors: {
  custom: {
    50: '#a365a9',
    500: '#791e85',
    950: '#000000',
  },
}
SCSS
$custom: #791e85;
$custom-light: #a365a9;
$custom-dark: #000000;
JSON
{
  "hex": "#791e85",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 293.01,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42873,
    "c": 0.17359,
    "h": 322.7
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#791E85
secondary
#54B847
accent
#E64255
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791E85

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

Preview Lab → · Contrast checker → · Palette generator →

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