#771D84#771D84

#771D84 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.173 H 322.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#771D84
RGBrgb(119, 29, 132)
HSLhsl(292, 64%, 32%)
HSVhsv(292, 78%, 52%)
CMYKcmyk(9.8%, 78%, 0%, 48.2%)
CIE-LABlab(30.56, 51.60, -37.84)
CIE-LCHlch(30.56, 63.99, 323.75°)
OKLaboklab(42.41% 0.1367 -0.1058)
OKLCHoklch(42.41% 0.173 322.3)
XYZxyz(12.2115, 6.4673, 22.4304)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D84 #2A841D
analogous
#441D84 #771D84 #841D5E
triadic
#771D84 #84771D #1D8477
tetradic
#771D84 #84441D #2A841D #1D5E84
square
#771D84 #84441D #2A841D #1D5E84
split-complementary
#771D84 #5E841D #1D8444
monochromatic
#1D0720 #4A1252 #771D84 #A428B6 #C445D6

Accessibility & contrast

On white

9.16
#771D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#771D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D84
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D84#FFFFFF#000000##FFFFFF
##771D841.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771d84;
/* rgb */ color: rgb(119, 29, 132);
/* oklch */ color: oklch(42.4% 0.173 322.3);
Tailwind
colors: {
  custom: {
    50: '#a264a8',
    500: '#771d84',
    950: '#000000',
  },
}
SCSS
$custom: #771d84;
$custom-light: #a264a8;
$custom-dark: #000000;
JSON
{
  "hex": "#771d84",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 292.427,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42414,
    "c": 0.17292,
    "h": 322.3
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#771D84
secondary
#54B746
accent
#E74156
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771D84

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

Preview Lab → · Contrast checker → · Palette generator →

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