#771F96#771F96

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

Color values

HEX#771F96
RGBrgb(119, 31, 150)
HSLhsl(284, 66%, 35%)
HSVhsv(284, 79%, 59%)
CMYKcmyk(20.7%, 79.3%, 0%, 41.2%)
CIE-LABlab(32.04, 54.45, -46.59)
CIE-LCHlch(32.04, 71.66, 319.45°)
OKLaboklab(43.86% 0.1326 -0.1315)
OKLCHoklch(43.86% 0.187 315.2)
XYZxyz(13.6019, 7.1044, 29.5030)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F96 #3E961F
analogous
#3C1F96 #771F96 #961F79
triadic
#771F96 #96771F #1F9677
tetradic
#771F96 #963C1F #3E961F #1F7996
square
#771F96 #963C1F #3E961F #1F7996
split-complementary
#771F96 #79961F #1F963C
monochromatic
#270A31 #4F1563 #771F96 #9F29C9 #B854DC

Accessibility & contrast

On white

8.67
#771F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771F96
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F96#FFFFFF#000000##FFFFFF
##771F961.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#1A4E93
Tritanopia (blue-blind)
#743B5A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771f96;
/* rgb */ color: rgb(119, 31, 150);
/* oklch */ color: oklch(43.9% 0.187 315.2);
Tailwind
colors: {
  custom: {
    50: '#a266b6',
    500: '#771f96',
    950: '#000000',
  },
}
SCSS
$custom: #771f96;
$custom-light: #a266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#771f96",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 284.37,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43858,
    "c": 0.18671,
    "h": 315.2
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#771F96
secondary
#6EBF52
accent
#E93F6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771F96

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

Preview Lab → · Contrast checker → · Palette generator →

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