#771B86#771B86

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

Color values

HEX#771B86
RGBrgb(119, 27, 134)
HSLhsl(292, 66%, 32%)
HSVhsv(292, 80%, 53%)
CMYKcmyk(11.2%, 79.9%, 0%, 47.5%)
CIE-LABlab(30.47, 52.63, -39.24)
CIE-LCHlch(30.47, 65.65, 323.29°)
OKLaboklab(42.39% 0.1383 -0.1099)
OKLCHoklch(42.39% 0.177 321.5)
XYZxyz(12.3023, 6.4277, 23.1423)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B86 #2A861B
analogous
#421B86 #771B86 #861B60
triadic
#771B86 #86771B #1B8677
tetradic
#771B86 #86421B #2A861B #1B6086
square
#771B86 #86421B #2A861B #1B6086
split-complementary
#771B86 #60861B #1B8642
monochromatic
#1D0620 #4A1153 #771B86 #A425B9 #C442D9

Accessibility & contrast

On white

9.19
#771B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771B86
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B86#FFFFFF#000000##FFFFFF
##771B861.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#2A4B84
Tritanopia (blue-blind)
#783150
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771b86;
/* rgb */ color: rgb(119, 27, 134);
/* oklch */ color: oklch(42.4% 0.177 321.5);
Tailwind
colors: {
  custom: {
    50: '#a263aa',
    500: '#771b86',
    950: '#000000',
  },
}
SCSS
$custom: #771b86;
$custom-light: #a263aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771b86",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 291.589,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.17667,
    "h": 321.5
  },
  "luminance": 0.06427
}

Semantic roles & 50–950 ramp

primary
#771B86
secondary
#54B944
accent
#E93E56
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771B86

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

Preview Lab → · Contrast checker → · Palette generator →

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