#771D9C#771D9C

#771D9C is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.194 H 313.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#771D9C
RGBrgb(119, 29, 156)
HSLhsl(283, 69%, 36%)
HSVhsv(283, 81%, 61%)
CMYKcmyk(23.7%, 81.4%, 0%, 38.8%)
CIE-LABlab(32.26, 56.33, -49.90)
CIE-LCHlch(32.26, 75.25, 318.47°)
OKLaboklab(44.15% 0.133 -0.1412)
OKLCHoklch(44.15% 0.194 313.3)
XYZxyz(14.0468, 7.2014, 32.0961)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D9C #429C1D
analogous
#381D9C #771D9C #9C1D82
triadic
#771D9C #9C771D #1D9C77
tetradic
#771D9C #9C381D #429C1D #1D829C
square
#771D9C #9C381D #429C1D #1D829C
split-complementary
#771D9C #829C1D #1D9C38
monochromatic
#280A35 #501368 #771D9C #9E27D0 #B754DF

Accessibility & contrast

On white

8.61
#771D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#771D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D9C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D9C#FFFFFF#000000##FFFFFF
##771D9C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#084E99
Tritanopia (blue-blind)
#733D5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771d9c;
/* rgb */ color: rgb(119, 29, 156);
/* oklch */ color: oklch(44.2% 0.194 313.3);
Tailwind
colors: {
  custom: {
    50: '#a365ba',
    500: '#771d9c',
    950: '#000000',
  },
}
SCSS
$custom: #771d9c;
$custom-light: #a365ba;
$custom-dark: #000000;
JSON
{
  "hex": "#771d9c",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 282.52,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44151,
    "c": 0.19399,
    "h": 313.3
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#771D9C
secondary
#73C252
accent
#EB3C6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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