#771C96#771C96

#771C96 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.190 H 315.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#771C96
RGBrgb(119, 28, 150)
HSLhsl(285, 69%, 35%)
HSVhsv(285, 81%, 59%)
CMYKcmyk(20.7%, 81.3%, 0%, 41.2%)
CIE-LABlab(31.70, 55.43, -47.13)
CIE-LCHlch(31.70, 72.76, 319.62°)
OKLaboklab(43.62% 0.135 -0.1331)
OKLCHoklch(43.62% 0.19 315.4)
XYZxyz(13.5271, 6.9550, 29.4781)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C96 #3B961C
analogous
#3A1C96 #771C96 #961C78
triadic
#771C96 #96771C #1C9677
tetradic
#771C96 #963A1C #3B961C #1C7896
square
#771C96 #963A1C #3B961C #1C7896
split-complementary
#771C96 #78961C #1C963A
monochromatic
#25092F #4E1262 #771C96 #A026CA #BA4EDE

Accessibility & contrast

On white

8.78
#771C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#771C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C96
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C96#FFFFFF#000000##FFFFFF
##771C961.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#164D93
Tritanopia (blue-blind)
#74395A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771c96;
/* rgb */ color: rgb(119, 28, 150);
/* oklch */ color: oklch(43.6% 0.190 315.4);
Tailwind
colors: {
  custom: {
    50: '#a365b6',
    500: '#771c96',
    950: '#000000',
  },
}
SCSS
$custom: #771c96;
$custom-light: #a365b6;
$custom-dark: #000000;
JSON
{
  "hex": "#771c96",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 284.754,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.18959,
    "h": 315.4
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#771C96
secondary
#6BC14D
accent
#EB3C69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771C96

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

Preview Lab → · Contrast checker → · Palette generator →

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