#771E97#771E97

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

Color values

HEX#771E97
RGBrgb(119, 30, 151)
HSLhsl(284, 67%, 35%)
HSVhsv(284, 80%, 59%)
CMYKcmyk(21.2%, 80.1%, 0%, 40.8%)
CIE-LABlab(32.00, 54.99, -47.27)
CIE-LCHlch(32.00, 72.51, 319.32°)
OKLaboklab(43.85% 0.1332 -0.1335)
OKLCHoklch(43.85% 0.189 314.9)
XYZxyz(13.6570, 7.0854, 29.9204)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E97 #3E971E
analogous
#3A1E97 #771E97 #971E7A
triadic
#771E97 #97771E #1E9777
tetradic
#771E97 #973A1E #3E971E #1E7A97
square
#771E97 #973A1E #3E971E #1E7A97
split-complementary
#771E97 #7A971E #1E973A
monochromatic
#270A31 #4F1464 #771E97 #9F28CA #B853DD

Accessibility & contrast

On white

8.69
#771E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#771E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E97
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E97#FFFFFF#000000##FFFFFF
##771E971.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#174D94
Tritanopia (blue-blind)
#743B5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771e97;
/* rgb */ color: rgb(119, 30, 151);
/* oklch */ color: oklch(43.9% 0.189 314.9);
Tailwind
colors: {
  custom: {
    50: '#a265b6',
    500: '#771e97',
    950: '#000000',
  },
}
SCSS
$custom: #771e97;
$custom-light: #a265b6;
$custom-dark: #000000;
JSON
{
  "hex": "#771e97",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 284.132,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43851,
    "c": 0.18859,
    "h": 314.9
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#771E97
secondary
#6EC051
accent
#EA3E6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771E97

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

Preview Lab → · Contrast checker → · Palette generator →

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