#791E8E#791E8E

#791E8E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.181 H 319.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#791E8E
RGBrgb(121, 30, 142)
HSLhsl(289, 65%, 34%)
HSVhsv(289, 79%, 56%)
CMYKcmyk(14.8%, 78.9%, 0%, 44.3%)
CIE-LABlab(31.69, 53.59, -42.23)
CIE-LCHlch(31.69, 68.23, 321.76°)
OKLaboklab(43.49% 0.1372 -0.1186)
OKLCHoklch(43.49% 0.181 319.2)
XYZxyz(13.2313, 6.9471, 26.2299)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E8E #338E1E
analogous
#411E8E #791E8E #8E1E6B
triadic
#791E8E #8E791E #1E8E79
tetradic
#791E8E #8E411E #338E1E #1E6B8E
square
#791E8E #8E411E #338E1E #1E6B8E
split-complementary
#791E8E #6B8E1E #1E8E41
monochromatic
#230929 #4E135B #791E8E #A429C1 #BF4DD9

Accessibility & contrast

On white

8.79
#791E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#791E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E8E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E8E#FFFFFF#000000##FFFFFF
##791E8E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#793656
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #791e8e;
/* rgb */ color: rgb(121, 30, 142);
/* oklch */ color: oklch(43.5% 0.181 319.2);
Tailwind
colors: {
  custom: {
    50: '#a365b0',
    500: '#791e8e',
    950: '#000000',
  },
}
SCSS
$custom: #791e8e;
$custom-light: #a365b0;
$custom-dark: #000000;
JSON
{
  "hex": "#791e8e",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 288.75,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43491,
    "c": 0.18138,
    "h": 319.2
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#791E8E
secondary
#61BC4C
accent
#E8405F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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