#791E88#791E88

#791E88 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.176 H 321.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#791E88
RGBrgb(121, 30, 136)
HSLhsl(292, 64%, 33%)
HSVhsv(292, 78%, 53%)
CMYKcmyk(11%, 77.9%, 0%, 46.7%)
CIE-LABlab(31.28, 52.44, -39.16)
CIE-LCHlch(31.28, 65.45, 323.25°)
OKLaboklab(43.08% 0.1379 -0.1096)
OKLCHoklch(43.08% 0.176 321.5)
XYZxyz(12.7929, 6.7718, 23.9210)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791E88 #2D881E
analogous
#441E88 #791E88 #881E62
triadic
#791E88 #88791E #1E8879
tetradic
#791E88 #88441E #2D881E #1E6288
square
#791E88 #88441E #2D881E #1E6288
split-complementary
#791E88 #62881E #1E8844
monochromatic
#200824 #4C1356 #791E88 #A629BA #C349D7

Accessibility & contrast

On white

8.92
#791E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#791E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791E88
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791E88#FFFFFF#000000##FFFFFF
##791E881.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#7A3352
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #791e88;
/* rgb */ color: rgb(121, 30, 136);
/* oklch */ color: oklch(43.1% 0.176 321.5);
Tailwind
colors: {
  custom: {
    50: '#a365ab',
    500: '#791e88',
    950: '#000000',
  },
}
SCSS
$custom: #791e88;
$custom-light: #a365ab;
$custom-dark: #000000;
JSON
{
  "hex": "#791e88",
  "rgb": {
    "r": 121,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 291.509,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43076,
    "c": 0.17617,
    "h": 321.5
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#791E88
secondary
#58B949
accent
#E74158
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791E88

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

Preview Lab → · Contrast checker → · Palette generator →

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