#771D8F#771D8F

#771D8F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.182 H 317.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#771D8F
RGBrgb(119, 29, 143)
HSLhsl(287, 66%, 34%)
HSVhsv(287, 80%, 56%)
CMYKcmyk(16.8%, 79.7%, 0%, 43.9%)
CIE-LABlab(31.31, 53.72, -43.47)
CIE-LCHlch(31.31, 69.10, 321.02°)
OKLaboklab(43.18% 0.1354 -0.1223)
OKLCHoklch(43.18% 0.182 317.9)
XYZxyz(13.0043, 6.7844, 26.6058)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D8F #358F1D
analogous
#3E1D8F #771D8F #8F1D6E
triadic
#771D8F #8F771D #1D8F77
tetradic
#771D8F #8F3E1D #358F1D #1D6E8F
square
#771D8F #8F3E1D #358F1D #1D6E8F
split-complementary
#771D8F #6E8F1D #1D8F3E
monochromatic
#220829 #4D135C #771D8F #A127C2 #BD4CDB

Accessibility & contrast

On white

8.91
#771D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#771D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D8F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D8F#FFFFFF#000000##FFFFFF
##771D8F1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#224C8D
Tritanopia (blue-blind)
#763656
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771d8f;
/* rgb */ color: rgb(119, 29, 143);
/* oklch */ color: oklch(43.2% 0.182 317.9);
Tailwind
colors: {
  custom: {
    50: '#a265b0',
    500: '#771d8f',
    950: '#000000',
  },
}
SCSS
$custom: #771d8f;
$custom-light: #a265b0;
$custom-dark: #000000;
JSON
{
  "hex": "#771d8f",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 287.368,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43183,
    "c": 0.18248,
    "h": 317.9
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#771D8F
secondary
#63BD4B
accent
#E93F63
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #771D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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