#771E89#771E89

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

Color values

HEX#771E89
RGBrgb(119, 30, 137)
HSLhsl(290, 64%, 33%)
HSVhsv(290, 78%, 54%)
CMYKcmyk(13.1%, 78.1%, 0%, 46.3%)
CIE-LABlab(31.01, 52.21, -40.23)
CIE-LCHlch(31.01, 65.91, 322.39°)
OKLaboklab(42.84% 0.1353 -0.1128)
OKLCHoklch(42.84% 0.176 320.2)
XYZxyz(12.5868, 6.6573, 24.2841)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E89 #30891E
analogous
#421E89 #771E89 #891E65
triadic
#771E89 #89771E #1E8977
tetradic
#771E89 #89421E #30891E #1E6589
square
#771E89 #89421E #30891E #1E6589
split-complementary
#771E89 #65891E #1E8942
monochromatic
#200825 #4B1357 #771E89 #A329BB #C04AD7

Accessibility & contrast

On white

9.01
#771E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#771E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E89
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E89#FFFFFF#000000##FFFFFF
##771E891.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771e89;
/* rgb */ color: rgb(119, 30, 137);
/* oklch */ color: oklch(42.8% 0.176 320.2);
Tailwind
colors: {
  custom: {
    50: '#a265ac',
    500: '#771e89',
    950: '#000000',
  },
}
SCSS
$custom: #771e89;
$custom-light: #a265ac;
$custom-dark: #000000;
JSON
{
  "hex": "#771e89",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 289.907,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42841,
    "c": 0.1762,
    "h": 320.2
  },
  "luminance": 0.06657
}

Semantic roles & 50–950 ramp

primary
#771E89
secondary
#5CBA49
accent
#E7415D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771E89

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

Preview Lab → · Contrast checker → · Palette generator →

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