#771E84#771E84

#771E84 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.172 H 322.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#771E84
RGBrgb(119, 30, 132)
HSLhsl(292, 63%, 32%)
HSVhsv(292, 77%, 52%)
CMYKcmyk(9.8%, 77.3%, 0%, 48.2%)
CIE-LABlab(30.68, 51.26, -37.65)
CIE-LCHlch(30.68, 63.60, 323.70°)
OKLaboklab(42.5% 0.1358 -0.1053)
OKLCHoklch(42.5% 0.172 322.2)
XYZxyz(12.2364, 6.5171, 22.4387)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E84 #2B841E
analogous
#441E84 #771E84 #841E5E
triadic
#771E84 #84771E #1E8477
tetradic
#771E84 #84441E #2B841E #1E5E84
square
#771E84 #84441E #2B841E #1E5E84
split-complementary
#771E84 #5E841E #1E8444
monochromatic
#1D0720 #4A1352 #771E84 #A429B6 #C347D5

Accessibility & contrast

On white

9.12
#771E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#771E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E84
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E84#FFFFFF#000000##FFFFFF
##771E841.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#2D4C82
Tritanopia (blue-blind)
#783250
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771e84;
/* rgb */ color: rgb(119, 30, 132);
/* oklch */ color: oklch(42.5% 0.172 322.2);
Tailwind
colors: {
  custom: {
    50: '#a264a8',
    500: '#771e84',
    950: '#000000',
  },
}
SCSS
$custom: #771e84;
$custom-light: #a264a8;
$custom-dark: #000000;
JSON
{
  "hex": "#771e84",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 292.353,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42499,
    "c": 0.17184,
    "h": 322.2
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#771E84
secondary
#55B747
accent
#E64257
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771E84

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

Preview Lab → · Contrast checker → · Palette generator →

#771E84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva