#771A89#771A89

#771A89 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.180 H 320.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#771A89
RGBrgb(119, 26, 137)
HSLhsl(290, 68%, 32%)
HSVhsv(290, 81%, 54%)
CMYKcmyk(13.1%, 81%, 0%, 46.3%)
CIE-LABlab(30.56, 53.51, -40.95)
CIE-LCHlch(30.56, 67.39, 322.57°)
OKLaboklab(42.52% 0.1388 -0.1149)
OKLCHoklch(42.52% 0.18 320.4)
XYZxyz(12.4920, 6.4675, 24.2524)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A89 #2C891A
analogous
#3F1A89 #771A89 #891A64
triadic
#771A89 #89771A #1A8977
tetradic
#771A89 #893F1A #2C891A #1A6489
square
#771A89 #893F1A #2C891A #1A6489
split-complementary
#771A89 #64891A #1A893F
monochromatic
#1E0622 #4A1056 #771A89 #A424BC #C242DB

Accessibility & contrast

On white

9.16
#771A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#771A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A89
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A89#FFFFFF#000000##FFFFFF
##771A891.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#264B87
Tritanopia (blue-blind)
#773252
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771a89;
/* rgb */ color: rgb(119, 26, 137);
/* oklch */ color: oklch(42.5% 0.180 320.4);
Tailwind
colors: {
  custom: {
    50: '#a263ac',
    500: '#771a89',
    950: '#000000',
  },
}
SCSS
$custom: #771a89;
$custom-light: #a263ac;
$custom-dark: #000000;
JSON
{
  "hex": "#771a89",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 290.27,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42522,
    "c": 0.18019,
    "h": 320.4
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#771A89
secondary
#56BC43
accent
#EB3D59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771A89

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

Preview Lab → · Contrast checker → · Palette generator →

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