#791E86#791E86

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

Color values

HEX#791E86
RGBrgb(121, 30, 134)
HSLhsl(293, 63%, 32%)
HSVhsv(293, 78%, 53%)
CMYKcmyk(9.7%, 77.6%, 0%, 47.5%)
CIE-LABlab(31.15, 52.06, -38.13)
CIE-LCHlch(31.15, 64.53, 323.78°)
OKLaboklab(42.94% 0.1381 -0.1066)
OKLCHoklch(42.94% 0.174 322.3)
XYZxyz(12.6521, 6.7155, 23.1794)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E86 #2B861E
analogous
#451E86 #791E86 #861E5F
triadic
#791E86 #86791E #1E8679
tetradic
#791E86 #86451E #2B861E #1E5F86
square
#791E86 #86451E #2B861E #1E5F86
split-complementary
#791E86 #5F861E #1E8645
monochromatic
#1F0822 #4C1354 #791E86 #A629B8 #C448D6

Accessibility & contrast

On white

8.96
#791E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #791E86
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E86#FFFFFF#000000##FFFFFF
##791E861.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2E4D84
Tritanopia (blue-blind)
#7B3251
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #791e86;
/* rgb */ color: rgb(121, 30, 134);
/* oklch */ color: oklch(42.9% 0.174 322.3);
Tailwind
colors: {
  custom: {
    50: '#a365aa',
    500: '#791e86',
    950: '#000000',
  },
}
SCSS
$custom: #791e86;
$custom-light: #a365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#791e86",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 292.5,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4294,
    "c": 0.17445,
    "h": 322.3
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#791E86
secondary
#56B847
accent
#E64156
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791E86

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

Preview Lab → · Contrast checker → · Palette generator →

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