#771D9E#771D9E

#771D9E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.196 H 312.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#771D9E
RGBrgb(119, 29, 158)
HSLhsl(282, 69%, 37%)
HSVhsv(282, 82%, 62%)
CMYKcmyk(24.7%, 81.6%, 0%, 38%)
CIE-LABlab(32.41, 56.74, -50.87)
CIE-LCHlch(32.41, 76.20, 318.13°)
OKLaboklab(44.31% 0.1326 -0.144)
OKLCHoklch(44.31% 0.196 312.6)
XYZxyz(14.2175, 7.2697, 32.9954)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D9E #449E1D
analogous
#361D9E #771D9E #9E1D85
triadic
#771D9E #9E771D #1D9E77
tetradic
#771D9E #9E361D #449E1D #1D859E
square
#771D9E #9E361D #449E1D #1D859E
split-complementary
#771D9E #859E1D #1D9E36
monochromatic
#290A37 #50146A #771D9E #9E26D2 #B656E0

Accessibility & contrast

On white

8.56
#771D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#771D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D9E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D9E#FFFFFF#000000##FFFFFF
##771D9E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#014E9B
Tritanopia (blue-blind)
#723E5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771d9e;
/* rgb */ color: rgb(119, 29, 158);
/* oklch */ color: oklch(44.3% 0.196 312.6);
Tailwind
colors: {
  custom: {
    50: '#a365bb',
    500: '#771d9e',
    950: '#000000',
  },
}
SCSS
$custom: #771d9e;
$custom-light: #a365bb;
$custom-dark: #000000;
JSON
{
  "hex": "#771d9e",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 281.86,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44305,
    "c": 0.19577,
    "h": 312.6
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#771D9E
secondary
#75C354
accent
#EC3C71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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