#771D86#771D86

#771D86 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.175 H 321.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#771D86
RGBrgb(119, 29, 134)
HSLhsl(291, 64%, 32%)
HSVhsv(291, 78%, 53%)
CMYKcmyk(11.2%, 78.4%, 0%, 47.5%)
CIE-LABlab(30.69, 51.98, -38.88)
CIE-LCHlch(30.69, 64.91, 323.21°)
OKLaboklab(42.55% 0.1366 -0.1089)
OKLCHoklch(42.55% 0.175 321.4)
XYZxyz(12.3497, 6.5226, 23.1581)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D86 #2C861D
analogous
#431D86 #771D86 #861D60
triadic
#771D86 #86771D #1D8677
tetradic
#771D86 #86431D #2C861D #1D6086
square
#771D86 #86431D #2C861D #1D6086
split-complementary
#771D86 #60861D #1D8643
monochromatic
#1E0721 #4A1254 #771D86 #A428B8 #C246D7

Accessibility & contrast

On white

9.11
#771D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#771D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D86
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D86#FFFFFF#000000##FFFFFF
##771D861.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#2B4B84
Tritanopia (blue-blind)
#783251
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771d86;
/* rgb */ color: rgb(119, 29, 134);
/* oklch */ color: oklch(42.6% 0.175 321.4);
Tailwind
colors: {
  custom: {
    50: '#a264aa',
    500: '#771d86',
    950: '#000000',
  },
}
SCSS
$custom: #771d86;
$custom-light: #a264aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771d86",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 291.429,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42551,
    "c": 0.17464,
    "h": 321.4
  },
  "luminance": 0.06522
}

Semantic roles & 50–950 ramp

primary
#771D86
secondary
#56B946
accent
#E74058
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771D86

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

Preview Lab → · Contrast checker → · Palette generator →

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