#771A9E#771A9E

#771A9E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.1% C 0.198 H 312.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#771A9E
RGBrgb(119, 26, 158)
HSLhsl(282, 72%, 36%)
HSVhsv(282, 84%, 62%)
CMYKcmyk(24.7%, 83.5%, 0%, 38%)
CIE-LABlab(32.10, 57.65, -51.37)
CIE-LCHlch(32.10, 77.22, 318.30°)
OKLaboklab(44.09% 0.1348 -0.1455)
OKLCHoklch(44.09% 0.198 312.8)
XYZxyz(14.1476, 7.1298, 32.9721)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A9E #419E1A
analogous
#351A9E #771A9E #9E1A83
triadic
#771A9E #9E771A #1A9E77
tetradic
#771A9E #9E351A #419E1A #1A839E
square
#771A9E #9E351A #419E1A #1A839E
split-complementary
#771A9E #839E1A #1A9E35
monochromatic
#280935 #4F1169 #771A9E #9F23D3 #B750E2

Accessibility & contrast

On white

8.66
#771A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#771A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A9E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A9E#FFFFFF#000000##FFFFFF
##771A9E1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#723C5E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771a9e;
/* rgb */ color: rgb(119, 26, 158);
/* oklch */ color: oklch(44.1% 0.198 312.8);
Tailwind
colors: {
  custom: {
    50: '#a364bb',
    500: '#771a9e',
    950: '#000000',
  },
}
SCSS
$custom: #771a9e;
$custom-light: #a364bb;
$custom-dark: #000000;
JSON
{
  "hex": "#771a9e",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 282.273,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44087,
    "c": 0.19835,
    "h": 312.8
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#771A9E
secondary
#72C54F
accent
#EE396F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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