#771F89#771F89

#771F89 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.175 H 320.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#771F89
RGBrgb(119, 31, 137)
HSLhsl(290, 63%, 33%)
HSVhsv(290, 77%, 54%)
CMYKcmyk(13.1%, 77.4%, 0%, 46.3%)
CIE-LABlab(31.13, 51.86, -40.04)
CIE-LCHlch(31.13, 65.52, 322.33°)
OKLaboklab(42.93% 0.1344 -0.1123)
OKLCHoklch(42.93% 0.175 320.1)
XYZxyz(12.6125, 6.7087, 24.2926)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F89 #31891F
analogous
#421F89 #771F89 #891F66
triadic
#771F89 #89771F #1F8977
tetradic
#771F89 #89421F #31891F #1F6689
square
#771F89 #89421F #31891F #1F6689
split-complementary
#771F89 #66891F #1F8942
monochromatic
#200825 #4C1457 #771F89 #A22ABB #BF4CD6

Accessibility & contrast

On white

8.97
#771F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#771F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F89
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F89#FFFFFF#000000##FFFFFF
##771F891.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#294C87
Tritanopia (blue-blind)
#773553
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771f89;
/* rgb */ color: rgb(119, 31, 137);
/* oklch */ color: oklch(42.9% 0.175 320.1);
Tailwind
colors: {
  custom: {
    50: '#a265ac',
    500: '#771f89',
    950: '#000000',
  },
}
SCSS
$custom: #771f89;
$custom-light: #a265ac;
$custom-dark: #000000;
JSON
{
  "hex": "#771f89",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 289.811,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42927,
    "c": 0.17513,
    "h": 320.1
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#771F89
secondary
#5DB94B
accent
#E6425E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771F89

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

Preview Lab → · Contrast checker → · Palette generator →

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