#771F97#771F97

#771F97 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.188 H 314.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#771F97
RGBrgb(119, 31, 151)
HSLhsl(284, 66%, 36%)
HSVhsv(284, 79%, 59%)
CMYKcmyk(21.2%, 79.5%, 0%, 40.8%)
CIE-LABlab(32.12, 54.65, -47.08)
CIE-LCHlch(32.12, 72.13, 319.26°)
OKLaboklab(43.93% 0.1324 -0.133)
OKLCHoklch(43.93% 0.188 314.9)
XYZxyz(13.6827, 7.1368, 29.9289)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F97 #3F971F
analogous
#3B1F97 #771F97 #971F7B
triadic
#771F97 #97771F #1F9777
tetradic
#771F97 #973B1F #3F971F #1F7B97
square
#771F97 #973B1F #3F971F #1F7B97
split-complementary
#771F97 #7B971F #1F973B
monochromatic
#270A31 #4F1564 #771F97 #9F29CA #B854DC

Accessibility & contrast

On white

8.65
#771F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#771F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F97
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F97#FFFFFF#000000##FFFFFF
##771F971.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#184E94
Tritanopia (blue-blind)
#743B5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771f97;
/* rgb */ color: rgb(119, 31, 151);
/* oklch */ color: oklch(43.9% 0.188 314.9);
Tailwind
colors: {
  custom: {
    50: '#a266b6',
    500: '#771f97',
    950: '#000000',
  },
}
SCSS
$custom: #771f97;
$custom-light: #a266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#771f97",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 284,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43932,
    "c": 0.18762,
    "h": 314.9
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#771F97
secondary
#6FBF52
accent
#E93F6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771F97

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

Preview Lab → · Contrast checker → · Palette generator →

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