#771D89#771D89

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

Color values

HEX#771D89
RGBrgb(119, 29, 137)
HSLhsl(290, 65%, 33%)
HSVhsv(290, 79%, 54%)
CMYKcmyk(13.1%, 78.8%, 0%, 46.3%)
CIE-LABlab(30.90, 52.55, -40.42)
CIE-LCHlch(30.90, 66.30, 322.43°)
OKLaboklab(42.76% 0.1362 -0.1134)
OKLCHoklch(42.76% 0.177 320.2)
XYZxyz(12.5619, 6.6075, 24.2758)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D89 #2F891D
analogous
#411D89 #771D89 #891D65
triadic
#771D89 #89771D #1D8977
tetradic
#771D89 #89411D #2F891D #1D6589
square
#771D89 #89411D #2F891D #1D6589
split-complementary
#771D89 #65891D #1D8941
monochromatic
#1F0824 #4B1256 #771D89 #A328BC #C048D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771D89#FFFFFF#000000##FFFFFF
##771D891.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)
#00438C
Deuteranopia (green-blind)
#284C87
Tritanopia (blue-blind)
#773452
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771d89;
/* rgb */ color: rgb(119, 29, 137);
/* oklch */ color: oklch(42.8% 0.177 320.2);
Tailwind
colors: {
  custom: {
    50: '#a264ac',
    500: '#771d89',
    950: '#000000',
  },
}
SCSS
$custom: #771d89;
$custom-light: #a264ac;
$custom-dark: #000000;
JSON
{
  "hex": "#771d89",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 290,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42758,
    "c": 0.17724,
    "h": 320.2
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#771D89
secondary
#5BBA47
accent
#E8405C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771D89

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

Preview Lab → · Contrast checker → · Palette generator →

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