#771A9D#771A9D

#771A9D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.197 H 313.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#771A9D
RGBrgb(119, 26, 157)
HSLhsl(283, 72%, 36%)
HSVhsv(283, 83%, 62%)
CMYKcmyk(24.2%, 83.4%, 0%, 38.4%)
CIE-LABlab(32.02, 57.45, -50.89)
CIE-LCHlch(32.02, 76.75, 318.46°)
OKLaboklab(44.01% 0.135 -0.1441)
OKLCHoklch(44.01% 0.197 313.1)
XYZxyz(14.0619, 7.0955, 32.5206)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A9D #409D1A
analogous
#351A9D #771A9D #9D1A81
triadic
#771A9D #9D771A #1A9D77
tetradic
#771A9D #9D351A #409D1A #1A819D
square
#771A9D #9D351A #409D1A #1A819D
split-complementary
#771A9D #819D1A #1A9D35
monochromatic
#270934 #4F1168 #771A9D #9F23D2 #B74FE2

Accessibility & contrast

On white

8.68
#771A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771A9D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A9D#FFFFFF#000000##FFFFFF
##771A9D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#733C5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771a9d;
/* rgb */ color: rgb(119, 26, 157);
/* oklch */ color: oklch(44.0% 0.197 313.1);
Tailwind
colors: {
  custom: {
    50: '#a364bb',
    500: '#771a9d',
    950: '#000000',
  },
}
SCSS
$custom: #771a9d;
$custom-light: #a364bb;
$custom-dark: #000000;
JSON
{
  "hex": "#771a9d",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 282.595,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.19747,
    "h": 313.1
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#771A9D
secondary
#71C44E
accent
#EE396E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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