#771A87#771A87

#771A87 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.178 H 321.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#771A87
RGBrgb(119, 26, 135)
HSLhsl(291, 68%, 32%)
HSVhsv(291, 81%, 53%)
CMYKcmyk(11.9%, 80.7%, 0%, 47.1%)
CIE-LABlab(30.43, 53.14, -39.93)
CIE-LCHlch(30.43, 66.47, 323.08°)
OKLaboklab(42.38% 0.139 -0.1119)
OKLCHoklch(42.38% 0.178 321.2)
XYZxyz(12.3498, 6.4107, 23.5039)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A87 #2A871A
analogous
#411A87 #771A87 #871A61
triadic
#771A87 #87771A #1A8777
tetradic
#771A87 #87411A #2A871A #1A6187
square
#771A87 #87411A #2A871A #1A6187
split-complementary
#771A87 #61871A #1A8741
monochromatic
#1D0620 #4A1054 #771A87 #A424BA #C441DA

Accessibility & contrast

On white

9.20
#771A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#771A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A87
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A87#FFFFFF#000000##FFFFFF
##771A871.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#284B85
Tritanopia (blue-blind)
#783151
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771a87;
/* rgb */ color: rgb(119, 26, 135);
/* oklch */ color: oklch(42.4% 0.178 321.2);
Tailwind
colors: {
  custom: {
    50: '#a263aa',
    500: '#771a87',
    950: '#000000',
  },
}
SCSS
$custom: #771a87;
$custom-light: #a263aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771a87",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 291.193,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42382,
    "c": 0.17849,
    "h": 321.2
  },
  "luminance": 0.0641
}

Semantic roles & 50–950 ramp

primary
#771A87
secondary
#54BA42
accent
#EB3D57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771A87

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

Preview Lab → · Contrast checker → · Palette generator →

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