#771C9B#771C9B

#771C9B is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.194 H 313.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#771C9B
RGBrgb(119, 28, 155)
HSLhsl(283, 69%, 36%)
HSVhsv(283, 82%, 61%)
CMYKcmyk(23.2%, 81.9%, 0%, 39.2%)
CIE-LABlab(32.08, 56.44, -49.58)
CIE-LCHlch(32.08, 75.13, 318.70°)
OKLaboklab(44% 0.134 -0.1403)
OKLCHoklch(44% 0.194 313.7)
XYZxyz(13.9384, 7.1195, 31.6440)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C9B #409B1C
analogous
#371C9B #771C9B #9B1C7F
triadic
#771C9B #9B771C #1C9B77
tetradic
#771C9B #9B371C #409B1C #1C7F9B
square
#771C9B #9B371C #409B1C #1C7F9B
split-complementary
#771C9B #7F9B1C #1C9B37
monochromatic
#270933 #4F1367 #771C9B #9F25CF #B752E0

Accessibility & contrast

On white

8.66
#771C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#771C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C9B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C9B#FFFFFF#000000##FFFFFF
##771C9B1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#0A4D98
Tritanopia (blue-blind)
#733C5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771c9b;
/* rgb */ color: rgb(119, 28, 155);
/* oklch */ color: oklch(44.0% 0.194 313.7);
Tailwind
colors: {
  custom: {
    50: '#a365b9',
    500: '#771c9b',
    950: '#000000',
  },
}
SCSS
$custom: #771c9b;
$custom-light: #a365b9;
$custom-dark: #000000;
JSON
{
  "hex": "#771c9b",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 282.992,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43998,
    "c": 0.19399,
    "h": 313.7
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#771C9B
secondary
#71C350
accent
#EC3C6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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