#771CA0#771CA0

#771CA0 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.198 H 312.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#771CA0
RGBrgb(119, 28, 160)
HSLhsl(281, 70%, 37%)
HSVhsv(281, 83%, 63%)
CMYKcmyk(25.6%, 82.5%, 0%, 37.3%)
CIE-LABlab(32.46, 57.47, -52.00)
CIE-LCHlch(32.46, 77.50, 317.86°)
OKLaboklab(44.39% 0.1329 -0.1474)
OKLCHoklch(44.39% 0.198 312)
XYZxyz(14.3670, 7.2909, 33.9014)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771CA0 #45A01C
analogous
#351CA0 #771CA0 #A01C87
triadic
#771CA0 #A0771C #1CA077
tetradic
#771CA0 #A0351C #45A01C #1C87A0
square
#771CA0 #A0351C #45A01C #1C87A0
split-complementary
#771CA0 #87A01C #1CA035
monochromatic
#2A0A38 #50136C #771CA0 #9E25D4 #B655E1

Accessibility & contrast

On white

8.54
#771CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#771CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771CA0
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771CA0#FFFFFF#000000##FFFFFF
##771CA01.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#723E60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771ca0;
/* rgb */ color: rgb(119, 28, 160);
/* oklch */ color: oklch(44.4% 0.198 312.0);
Tailwind
colors: {
  custom: {
    50: '#a365bd',
    500: '#771ca0',
    950: '#000000',
  },
}
SCSS
$custom: #771ca0;
$custom-light: #a365bd;
$custom-dark: #000000;
JSON
{
  "hex": "#771ca0",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 281.364,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44386,
    "c": 0.19843,
    "h": 312
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#771CA0
secondary
#76C453
accent
#ED3B72
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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