#771A96#771A96

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

Color values

HEX#771A96
RGBrgb(119, 26, 150)
HSLhsl(285, 70%, 35%)
HSVhsv(285, 83%, 59%)
CMYKcmyk(20.7%, 82.7%, 0%, 41.2%)
CIE-LABlab(31.49, 56.04, -47.47)
CIE-LCHlch(31.49, 73.45, 319.73°)
OKLaboklab(43.47% 0.1366 -0.1341)
OKLCHoklch(43.47% 0.191 315.5)
XYZxyz(13.4813, 6.8633, 29.4629)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A96 #39961A
analogous
#391A96 #771A96 #961A77
triadic
#771A96 #96771A #1A9677
tetradic
#771A96 #96391A #39961A #1A7796
square
#771A96 #96391A #39961A #1A7796
split-complementary
#771A96 #77961A #1A9639
monochromatic
#24082E #4E1162 #771A96 #A023CA #BA4BE0

Accessibility & contrast

On white

8.85
#771A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771A96
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A96#FFFFFF#000000##FFFFFF
##771A961.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#144C93
Tritanopia (blue-blind)
#753859
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771a96;
/* rgb */ color: rgb(119, 26, 150);
/* oklch */ color: oklch(43.5% 0.191 315.5);
Tailwind
colors: {
  custom: {
    50: '#a364b6',
    500: '#771a96',
    950: '#000000',
  },
}
SCSS
$custom: #771a96;
$custom-light: #a364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#771a96",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 285,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.19137,
    "h": 315.5
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#771A96
secondary
#68C24A
accent
#ED3B67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771A96

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

Preview Lab → · Contrast checker → · Palette generator →

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