#771A97#771A97

#771A97 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.192 H 315.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#771A97
RGBrgb(119, 26, 151)
HSLhsl(285, 71%, 35%)
HSVhsv(285, 83%, 59%)
CMYKcmyk(21.2%, 82.8%, 0%, 40.8%)
CIE-LABlab(31.57, 56.24, -47.97)
CIE-LCHlch(31.57, 73.92, 319.54°)
OKLaboklab(43.55% 0.1364 -0.1355)
OKLCHoklch(43.55% 0.192 315.2)
XYZxyz(13.5621, 6.8956, 29.8887)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A97 #3A971A
analogous
#391A97 #771A97 #971A79
triadic
#771A97 #97771A #1A9777
tetradic
#771A97 #97391A #3A971A #1A7997
square
#771A97 #97391A #3A971A #1A7997
split-complementary
#771A97 #79971A #1A9739
monochromatic
#25082F #4E1163 #771A97 #A023CB #BA4BE0

Accessibility & contrast

On white

8.83
#771A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#771A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A97
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A97#FFFFFF#000000##FFFFFF
##771A971.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#124D94
Tritanopia (blue-blind)
#74395A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771a97;
/* rgb */ color: rgb(119, 26, 151);
/* oklch */ color: oklch(43.5% 0.192 315.2);
Tailwind
colors: {
  custom: {
    50: '#a364b6',
    500: '#771a97',
    950: '#000000',
  },
}
SCSS
$custom: #771a97;
$custom-light: #a364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#771a97",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 284.64,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43547,
    "c": 0.19224,
    "h": 315.2
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#771A97
secondary
#69C24B
accent
#ED3A68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771A97

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

Preview Lab → · Contrast checker → · Palette generator →

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