#771986#771986

#771986 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.179 H 321.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#771986
RGBrgb(119, 25, 134)
HSLhsl(292, 69%, 31%)
HSVhsv(292, 81%, 53%)
CMYKcmyk(11.2%, 81.3%, 0%, 47.5%)
CIE-LABlab(30.25, 53.25, -39.59)
CIE-LCHlch(30.25, 66.36, 323.38°)
OKLaboklab(42.24% 0.14 -0.1109)
OKLCHoklch(42.24% 0.179 321.6)
XYZxyz(12.2580, 6.3391, 23.1276)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771986 #288619
analogous
#401986 #771986 #86195E
triadic
#771986 #867719 #198677
tetradic
#771986 #864019 #288619 #195E86
square
#771986 #864019 #288619 #195E86
split-complementary
#771986 #5E8619 #198640
monochromatic
#1B061F #490F52 #771986 #A523BA #C53EDB

Accessibility & contrast

On white

9.26
#771986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#771986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771986
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771986#FFFFFF#000000##FFFFFF
##7719861.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771986;
/* rgb */ color: rgb(119, 25, 134);
/* oklch */ color: oklch(42.2% 0.179 321.6);
Tailwind
colors: {
  custom: {
    50: '#a263aa',
    500: '#771986',
    950: '#000000',
  },
}
SCSS
$custom: #771986;
$custom-light: #a263aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771986",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 291.743,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42238,
    "c": 0.17858,
    "h": 321.6
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#771986
secondary
#52BA41
accent
#EB3C54
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771986

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

Preview Lab → · Contrast checker → · Palette generator →

#771986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva