#771C9E#771C9E

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

Color values

HEX#771C9E
RGBrgb(119, 28, 158)
HSLhsl(282, 70%, 36%)
HSVhsv(282, 82%, 62%)
CMYKcmyk(24.7%, 82.3%, 0%, 38%)
CIE-LABlab(32.31, 57.05, -51.04)
CIE-LCHlch(32.31, 76.55, 318.18°)
OKLaboklab(44.23% 0.1333 -0.1446)
OKLCHoklch(44.23% 0.197 312.7)
XYZxyz(14.1934, 7.2215, 32.9873)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C9E #439E1C
analogous
#361C9E #771C9E #9E1C84
triadic
#771C9E #9E771C #1C9E77
tetradic
#771C9E #9E361C #439E1C #1C849E
square
#771C9E #9E361C #439E1C #1C849E
split-complementary
#771C9E #849E1C #1C9E36
monochromatic
#290A36 #50136A #771C9E #9E25D2 #B654E1

Accessibility & contrast

On white

8.59
#771C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771C9E
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C9E#FFFFFF#000000##FFFFFF
##771C9E1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004E9B
Tritanopia (blue-blind)
#723D5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771c9e;
/* rgb */ color: rgb(119, 28, 158);
/* oklch */ color: oklch(44.2% 0.197 312.7);
Tailwind
colors: {
  custom: {
    50: '#a365bb',
    500: '#771c9e',
    950: '#000000',
  },
}
SCSS
$custom: #771c9e;
$custom-light: #a365bb;
$custom-dark: #000000;
JSON
{
  "hex": "#771c9e",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 282,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4423,
    "c": 0.19665,
    "h": 312.7
  },
  "luminance": 0.07221
}

Semantic roles & 50–950 ramp

primary
#771C9E
secondary
#74C452
accent
#ED3B70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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