#771B96#771B96

#771B96 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.190 H 315.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#771B96
RGBrgb(119, 27, 150)
HSLhsl(285, 69%, 35%)
HSVhsv(285, 82%, 59%)
CMYKcmyk(20.7%, 82%, 0%, 41.2%)
CIE-LABlab(31.60, 55.74, -47.31)
CIE-LCHlch(31.60, 73.11, 319.68°)
OKLaboklab(43.54% 0.1358 -0.1336)
OKLCHoklch(43.54% 0.19 315.5)
XYZxyz(13.5038, 6.9083, 29.4704)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B96 #3A961B
analogous
#391B96 #771B96 #961B78
triadic
#771B96 #96771B #1B9677
tetradic
#771B96 #96391B #3A961B #1B7896
square
#771B96 #96391B #3A961B #1B7896
split-complementary
#771B96 #78961B #1B9639
monochromatic
#25082E #4E1262 #771B96 #A024CA #BA4DDF

Accessibility & contrast

On white

8.82
#771B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#771B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B96
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B96#FFFFFF#000000##FFFFFF
##771B961.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#154D93
Tritanopia (blue-blind)
#74395A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771b96;
/* rgb */ color: rgb(119, 27, 150);
/* oklch */ color: oklch(43.5% 0.190 315.5);
Tailwind
colors: {
  custom: {
    50: '#a364b6',
    500: '#771b96',
    950: '#000000',
  },
}
SCSS
$custom: #771b96;
$custom-light: #a364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#771b96",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 284.878,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43544,
    "c": 0.19049,
    "h": 315.5
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#771B96
secondary
#69C14C
accent
#EC3B68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771B96

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

Preview Lab → · Contrast checker → · Palette generator →

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