#771D9F#771D9F

#771D9F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.197 H 312.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#771D9F
RGBrgb(119, 29, 159)
HSLhsl(282, 69%, 37%)
HSVhsv(282, 82%, 62%)
CMYKcmyk(25.2%, 81.8%, 0%, 37.6%)
CIE-LABlab(32.49, 56.95, -51.35)
CIE-LCHlch(32.49, 76.68, 317.96°)
OKLaboklab(44.38% 0.1323 -0.1455)
OKLCHoklch(44.38% 0.197 312.3)
XYZxyz(14.3040, 7.3043, 33.4505)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D9F #459F1D
analogous
#361D9F #771D9F #9F1D86
triadic
#771D9F #9F771D #1D9F77
tetradic
#771D9F #9F361D #459F1D #1D869F
square
#771D9F #9F361D #459F1D #1D869F
split-complementary
#771D9F #869F1D #1D9F36
monochromatic
#2A0A37 #50146B #771D9F #9E26D3 #B656E0

Accessibility & contrast

On white

8.53
#771D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#771D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D9F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D9F#FFFFFF#000000##FFFFFF
##771D9F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#723E5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771d9f;
/* rgb */ color: rgb(119, 29, 159);
/* oklch */ color: oklch(44.4% 0.197 312.3);
Tailwind
colors: {
  custom: {
    50: '#a365bc',
    500: '#771d9f',
    950: '#000000',
  },
}
SCSS
$custom: #771d9f;
$custom-light: #a365bc;
$custom-dark: #000000;
JSON
{
  "hex": "#771d9f",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 159
  },
  "hsl": {
    "h": 281.538,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44383,
    "c": 0.19666,
    "h": 312.3
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#771D9F
secondary
#76C454
accent
#EC3C72
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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