#771E8F#771E8F

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

Color values

HEX#771E8F
RGBrgb(119, 30, 143)
HSLhsl(287, 65%, 34%)
HSVhsv(287, 79%, 56%)
CMYKcmyk(16.8%, 79%, 0%, 43.9%)
CIE-LABlab(31.43, 53.38, -43.28)
CIE-LCHlch(31.43, 68.72, 320.97°)
OKLaboklab(43.27% 0.1346 -0.1218)
OKLCHoklch(43.27% 0.181 317.9)
XYZxyz(13.0292, 6.8343, 26.6141)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E8F #368F1E
analogous
#3F1E8F #771E8F #8F1E6F
triadic
#771E8F #8F771E #1E8F77
tetradic
#771E8F #8F3F1E #368F1E #1E6F8F
square
#771E8F #8F3F1E #368F1E #1E6F8F
split-complementary
#771E8F #6F8F1E #1E8F3F
monochromatic
#23092A #4D135C #771E8F #A129C2 #BC4EDA

Accessibility & contrast

On white

8.87
#771E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#771E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E8F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E8F#FFFFFF#000000##FFFFFF
##771E8F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771e8f;
/* rgb */ color: rgb(119, 30, 143);
/* oklch */ color: oklch(43.3% 0.181 317.9);
Tailwind
colors: {
  custom: {
    50: '#a265b0',
    500: '#771e8f',
    950: '#000000',
  },
}
SCSS
$custom: #771e8f;
$custom-light: #a265b0;
$custom-dark: #000000;
JSON
{
  "hex": "#771e8f",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 287.257,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43265,
    "c": 0.18148,
    "h": 317.9
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#771E8F
secondary
#64BC4C
accent
#E84063
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #771E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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