#771C9D#771C9D

#771C9D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.196 H 313.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#771C9D
RGBrgb(119, 28, 157)
HSLhsl(282, 70%, 36%)
HSVhsv(282, 82%, 62%)
CMYKcmyk(24.2%, 82.2%, 0%, 38.4%)
CIE-LABlab(32.23, 56.85, -50.56)
CIE-LCHlch(32.23, 76.08, 318.35°)
OKLaboklab(44.15% 0.1336 -0.1431)
OKLCHoklch(44.15% 0.196 313)
XYZxyz(14.1077, 7.1872, 32.5359)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C9D #429D1C
analogous
#371C9D #771C9D #9D1C83
triadic
#771C9D #9D771C #1C9D77
tetradic
#771C9D #9D371C #429D1C #1C839D
square
#771C9D #9D371C #429D1C #1C839D
split-complementary
#771C9D #839D1C #1C9D37
monochromatic
#280935 #501369 #771C9D #9E25D1 #B753E0

Accessibility & contrast

On white

8.62
#771C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#771C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C9D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C9D#FFFFFF#000000##FFFFFF
##771C9D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#034E9A
Tritanopia (blue-blind)
#733D5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771c9d;
/* rgb */ color: rgb(119, 28, 157);
/* oklch */ color: oklch(44.2% 0.196 313.0);
Tailwind
colors: {
  custom: {
    50: '#a365bb',
    500: '#771c9d',
    950: '#000000',
  },
}
SCSS
$custom: #771c9d;
$custom-light: #a365bb;
$custom-dark: #000000;
JSON
{
  "hex": "#771c9d",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 282.326,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44153,
    "c": 0.19577,
    "h": 313
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#771C9D
secondary
#73C351
accent
#ED3B6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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