#771C9C#771C9C

#771C9C is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.195 H 313.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#771C9C
RGBrgb(119, 28, 156)
HSLhsl(283, 70%, 36%)
HSVhsv(283, 82%, 61%)
CMYKcmyk(23.7%, 82.1%, 0%, 38.8%)
CIE-LABlab(32.15, 56.64, -50.07)
CIE-LCHlch(32.15, 75.60, 318.52°)
OKLaboklab(44.08% 0.1338 -0.1417)
OKLCHoklch(44.08% 0.195 313.4)
XYZxyz(14.0227, 7.1532, 32.0881)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C9C #419C1C
analogous
#371C9C #771C9C #9C1C81
triadic
#771C9C #9C771C #1C9C77
tetradic
#771C9C #9C371C #419C1C #1C819C
square
#771C9C #9C371C #419C1C #1C819C
split-complementary
#771C9C #819C1C #1C9C37
monochromatic
#280934 #4F1368 #771C9C #9F25D0 #B752E0

Accessibility & contrast

On white

8.64
#771C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#771C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C9C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C9C#FFFFFF#000000##FFFFFF
##771C9C1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#064E99
Tritanopia (blue-blind)
#733C5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771c9c;
/* rgb */ color: rgb(119, 28, 156);
/* oklch */ color: oklch(44.1% 0.195 313.4);
Tailwind
colors: {
  custom: {
    50: '#a365ba',
    500: '#771c9c',
    950: '#000000',
  },
}
SCSS
$custom: #771c9c;
$custom-light: #a365ba;
$custom-dark: #000000;
JSON
{
  "hex": "#771c9c",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 156
  },
  "hsl": {
    "h": 282.656,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44075,
    "c": 0.19488,
    "h": 313.4
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#771C9C
secondary
#72C351
accent
#EC3B6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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