#771E87#771E87

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

Color values

HEX#771E87
RGBrgb(119, 30, 135)
HSLhsl(291, 64%, 32%)
HSVhsv(291, 78%, 53%)
CMYKcmyk(11.9%, 77.8%, 0%, 47.1%)
CIE-LABlab(30.88, 51.83, -39.20)
CIE-LCHlch(30.88, 64.98, 322.90°)
OKLaboklab(42.7% 0.1355 -0.1098)
OKLCHoklch(42.7% 0.174 321)
XYZxyz(12.4447, 6.6004, 23.5355)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E87 #2E871E
analogous
#421E87 #771E87 #871E63
triadic
#771E87 #87771E #1E8777
tetradic
#771E87 #87421E #2E871E #1E6387
square
#771E87 #87421E #2E871E #1E6387
split-complementary
#771E87 #63871E #1E8742
monochromatic
#1F0823 #4B1355 #771E87 #A329B9 #C149D7

Accessibility & contrast

On white

9.05
#771E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#771E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E87
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E87#FFFFFF#000000##FFFFFF
##771E871.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#2B4C85
Tritanopia (blue-blind)
#783352
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771e87;
/* rgb */ color: rgb(119, 30, 135);
/* oklch */ color: oklch(42.7% 0.174 321.0);
Tailwind
colors: {
  custom: {
    50: '#a265aa',
    500: '#771e87',
    950: '#000000',
  },
}
SCSS
$custom: #771e87;
$custom-light: #a265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771e87",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 290.857,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42703,
    "c": 0.17445,
    "h": 321
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#771E87
secondary
#59B948
accent
#E7415A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771E87

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

Preview Lab → · Contrast checker → · Palette generator →

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