#771C87#771C87

#771C87 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.177 H 321.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#771C87
RGBrgb(119, 28, 135)
HSLhsl(291, 66%, 32%)
HSVhsv(291, 79%, 53%)
CMYKcmyk(11.9%, 79.3%, 0%, 47.1%)
CIE-LABlab(30.65, 52.50, -39.58)
CIE-LCHlch(30.65, 65.75, 322.99°)
OKLaboklab(42.54% 0.1373 -0.1109)
OKLCHoklch(42.54% 0.177 321.1)
XYZxyz(12.3957, 6.5024, 23.5191)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C87 #2C871C
analogous
#421C87 #771C87 #871C62
triadic
#771C87 #87771C #1C8777
tetradic
#771C87 #87421C #2C871C #1C6287
square
#771C87 #87421C #2C871C #1C6287
split-complementary
#771C87 #62871C #1C8742
monochromatic
#1E0722 #4A1154 #771C87 #A427BA #C245D8

Accessibility & contrast

On white

9.13
#771C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#771C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C87
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C87#FFFFFF#000000##FFFFFF
##771C871.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#294B85
Tritanopia (blue-blind)
#783251
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771c87;
/* rgb */ color: rgb(119, 28, 135);
/* oklch */ color: oklch(42.5% 0.177 321.1);
Tailwind
colors: {
  custom: {
    50: '#a264aa',
    500: '#771c87',
    950: '#000000',
  },
}
SCSS
$custom: #771c87;
$custom-light: #a264aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771c87",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 291.028,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42538,
    "c": 0.17653,
    "h": 321.1
  },
  "luminance": 0.06502
}

Semantic roles & 50–950 ramp

primary
#771C87
secondary
#56BA45
accent
#E93F59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771C87

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

Preview Lab → · Contrast checker → · Palette generator →

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