#771A86#771A86

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

Color values

HEX#771A86
RGBrgb(119, 26, 134)
HSLhsl(292, 68%, 31%)
HSVhsv(292, 81%, 53%)
CMYKcmyk(11.2%, 80.6%, 0%, 47.5%)
CIE-LABlab(30.36, 52.95, -39.42)
CIE-LCHlch(30.36, 66.01, 323.33°)
OKLaboklab(42.31% 0.1392 -0.1104)
OKLCHoklch(42.31% 0.178 321.6)
XYZxyz(12.2797, 6.3827, 23.1348)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A86 #29861A
analogous
#411A86 #771A86 #861A5F
triadic
#771A86 #86771A #1A8677
tetradic
#771A86 #86411A #29861A #1A5F86
square
#771A86 #86411A #29861A #1A5F86
split-complementary
#771A86 #5F861A #1A8641
monochromatic
#1C061F #491053 #771A86 #A524B9 #C540DA

Accessibility & contrast

On white

9.23
#771A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771A86
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A86#FFFFFF#000000##FFFFFF
##771A861.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#294B84
Tritanopia (blue-blind)
#783150
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771a86;
/* rgb */ color: rgb(119, 26, 134);
/* oklch */ color: oklch(42.3% 0.178 321.6);
Tailwind
colors: {
  custom: {
    50: '#a263aa',
    500: '#771a86',
    950: '#000000',
  },
}
SCSS
$custom: #771a86;
$custom-light: #a263aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771a86",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 291.667,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42312,
    "c": 0.17764,
    "h": 321.6
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#771A86
secondary
#53B942
accent
#EA3D55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771A86

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

Preview Lab → · Contrast checker → · Palette generator →

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