#771F86#771F86

#771F86 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.172 H 321.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#771F86
RGBrgb(119, 31, 134)
HSLhsl(291, 62%, 32%)
HSVhsv(291, 77%, 53%)
CMYKcmyk(11.2%, 76.9%, 0%, 47.5%)
CIE-LABlab(30.93, 51.29, -38.49)
CIE-LCHlch(30.93, 64.12, 323.11°)
OKLaboklab(42.72% 0.1347 -0.1078)
OKLCHoklch(42.72% 0.173 321.3)
XYZxyz(12.4003, 6.6238, 23.1750)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F86 #2E861F
analogous
#431F86 #771F86 #861F62
triadic
#771F86 #86771F #1F8677
tetradic
#771F86 #86431F #2E861F #1F6286
square
#771F86 #86431F #2E861F #1F6286
split-complementary
#771F86 #62861F #1F8643
monochromatic
#1F0823 #4B1454 #771F86 #A32AB8 #C14AD5

Accessibility & contrast

On white

9.03
#771F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#771F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F86
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F86#FFFFFF#000000##FFFFFF
##771F861.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2C4C84
Tritanopia (blue-blind)
#783351
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771f86;
/* rgb */ color: rgb(119, 31, 134);
/* oklch */ color: oklch(42.7% 0.172 321.3);
Tailwind
colors: {
  custom: {
    50: '#a265aa',
    500: '#771f86',
    950: '#000000',
  },
}
SCSS
$custom: #771f86;
$custom-light: #a265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771f86",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 291.262,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42721,
    "c": 0.1725,
    "h": 321.3
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#771F86
secondary
#59B849
accent
#E5425A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771F86

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

Preview Lab → · Contrast checker → · Palette generator →

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