#771D87#771D87

#771D87 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.175 H 321.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#771D87
RGBrgb(119, 29, 135)
HSLhsl(291, 65%, 32%)
HSVhsv(291, 79%, 53%)
CMYKcmyk(11.9%, 78.5%, 0%, 47.1%)
CIE-LABlab(30.76, 52.17, -39.39)
CIE-LCHlch(30.76, 65.37, 322.94°)
OKLaboklab(42.62% 0.1364 -0.1104)
OKLCHoklch(42.62% 0.176 321)
XYZxyz(12.4198, 6.5506, 23.5272)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D87 #2D871D
analogous
#421D87 #771D87 #871D62
triadic
#771D87 #87771D #1D8777
tetradic
#771D87 #87421D #2D871D #1D6287
square
#771D87 #87421D #2D871D #1D6287
split-complementary
#771D87 #62871D #1D8742
monochromatic
#1E0722 #4B1255 #771D87 #A328B9 #C247D7

Accessibility & contrast

On white

9.09
#771D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#771D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D87
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D87#FFFFFF#000000##FFFFFF
##771D871.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#2A4C85
Tritanopia (blue-blind)
#783351
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771d87;
/* rgb */ color: rgb(119, 29, 135);
/* oklch */ color: oklch(42.6% 0.175 321.0);
Tailwind
colors: {
  custom: {
    50: '#a264aa',
    500: '#771d87',
    950: '#000000',
  },
}
SCSS
$custom: #771d87;
$custom-light: #a264aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771d87",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 290.943,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.1755,
    "h": 321
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#771D87
secondary
#58B946
accent
#E84059
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771D87

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

Preview Lab → · Contrast checker → · Palette generator →

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