#771E99#771E99

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

Color values

HEX#771E99
RGBrgb(119, 30, 153)
HSLhsl(283, 67%, 36%)
HSVhsv(283, 80%, 60%)
CMYKcmyk(22.2%, 80.4%, 0%, 40%)
CIE-LABlab(32.15, 55.39, -48.25)
CIE-LCHlch(32.15, 73.46, 318.94°)
OKLaboklab(44% 0.1328 -0.1364)
OKLCHoklch(44% 0.19 314.2)
XYZxyz(13.8208, 7.1509, 30.7830)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E99 #40991E
analogous
#3A1E99 #771E99 #991E7D
triadic
#771E99 #99771E #1E9977
tetradic
#771E99 #993A1E #40991E #1E7D99
square
#771E99 #993A1E #40991E #1E7D99
split-complementary
#771E99 #7D991E #1E993A
monochromatic
#270A33 #4F1466 #771E99 #9F28CC #B754DD

Accessibility & contrast

On white

8.64
#771E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771E99
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E99#FFFFFF#000000##FFFFFF
##771E991.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#134E96
Tritanopia (blue-blind)
#743C5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771e99;
/* rgb */ color: rgb(119, 30, 153);
/* oklch */ color: oklch(44.0% 0.190 314.2);
Tailwind
colors: {
  custom: {
    50: '#a365b8',
    500: '#771e99',
    950: '#000000',
  },
}
SCSS
$custom: #771e99;
$custom-light: #a365b8;
$custom-dark: #000000;
JSON
{
  "hex": "#771e99",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 283.415,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44001,
    "c": 0.19038,
    "h": 314.2
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#771E99
secondary
#71C152
accent
#EA3E6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771E99

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

Preview Lab → · Contrast checker → · Palette generator →

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