#771C85#771C85

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

Color values

HEX#771C85
RGBrgb(119, 28, 133)
HSLhsl(292, 65%, 32%)
HSVhsv(292, 79%, 52%)
CMYKcmyk(10.5%, 78.9%, 0%, 47.8%)
CIE-LABlab(30.51, 52.12, -38.54)
CIE-LCHlch(30.51, 64.82, 323.52°)
OKLaboklab(42.4% 0.1375 -0.1079)
OKLCHoklch(42.4% 0.175 321.9)
XYZxyz(12.2562, 6.4466, 22.7845)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C85 #2A851C
analogous
#431C85 #771C85 #851C5F
triadic
#771C85 #85771C #1C8577
tetradic
#771C85 #85431C #2A851C #1C5F85
square
#771C85 #85431C #2A851C #1C5F85
split-complementary
#771C85 #5F851C #1C8543
monochromatic
#1D0720 #4A1152 #771C85 #A427B8 #C444D8

Accessibility & contrast

On white

9.17
#771C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771C85
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C85#FFFFFF#000000##FFFFFF
##771C851.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771c85;
/* rgb */ color: rgb(119, 28, 133);
/* oklch */ color: oklch(42.4% 0.175 321.9);
Tailwind
colors: {
  custom: {
    50: '#a264a9',
    500: '#771c85',
    950: '#000000',
  },
}
SCSS
$custom: #771c85;
$custom-light: #a264a9;
$custom-dark: #000000;
JSON
{
  "hex": "#771c85",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 292,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.424,
    "c": 0.17481,
    "h": 321.9
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#771C85
secondary
#54B845
accent
#E84056
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771C85

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

Preview Lab → · Contrast checker → · Palette generator →

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