#771E8E#771E8E

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

Color values

HEX#771E8E
RGBrgb(119, 30, 142)
HSLhsl(288, 65%, 34%)
HSVhsv(288, 79%, 56%)
CMYKcmyk(16.2%, 78.9%, 0%, 44.3%)
CIE-LABlab(31.36, 53.19, -42.77)
CIE-LCHlch(31.36, 68.25, 321.19°)
OKLaboklab(43.19% 0.1347 -0.1203)
OKLCHoklch(43.19% 0.181 318.2)
XYZxyz(12.9538, 6.8041, 26.2169)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E8E #358E1E
analogous
#3F1E8E #771E8E #8E1E6D
triadic
#771E8E #8E771E #1E8E77
tetradic
#771E8E #8E3F1E #358E1E #1E6D8E
square
#771E8E #8E3F1E #358E1E #1E6D8E
split-complementary
#771E8E #6D8E1E #1E8E3F
monochromatic
#220929 #4D135B #771E8E #A129C1 #BD4DD9

Accessibility & contrast

On white

8.90
#771E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771E8E
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E8E#FFFFFF#000000##FFFFFF
##771E8E1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#244C8C
Tritanopia (blue-blind)
#763756
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771e8e;
/* rgb */ color: rgb(119, 30, 142);
/* oklch */ color: oklch(43.2% 0.181 318.2);
Tailwind
colors: {
  custom: {
    50: '#a265b0',
    500: '#771e8e',
    950: '#000000',
  },
}
SCSS
$custom: #771e8e;
$custom-light: #a265b0;
$custom-dark: #000000;
JSON
{
  "hex": "#771e8e",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 287.679,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43193,
    "c": 0.18059,
    "h": 318.2
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#771E8E
secondary
#63BC4C
accent
#E84062
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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