#771E9D#771E9D

#771E9D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.194 H 312.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#771E9D
RGBrgb(119, 30, 157)
HSLhsl(282, 68%, 37%)
HSVhsv(282, 81%, 62%)
CMYKcmyk(24.2%, 80.9%, 0%, 38.4%)
CIE-LABlab(32.45, 56.21, -50.20)
CIE-LCHlch(32.45, 75.37, 318.23°)
OKLaboklab(44.31% 0.132 -0.1421)
OKLCHoklch(44.31% 0.194 312.9)
XYZxyz(14.1567, 7.2852, 32.5522)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E9D #449D1E
analogous
#381E9D #771E9D #9D1E84
triadic
#771E9D #9D771E #1E9D77
tetradic
#771E9D #9D381E #449D1E #1E849D
square
#771E9D #9D381E #449D1E #1E849D
split-complementary
#771E9D #849D1E #1E9D38
monochromatic
#290A36 #50146A #771E9D #9E28D0 #B657DF

Accessibility & contrast

On white

8.55
#771E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771E9D
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E9D#FFFFFF#000000##FFFFFF
##771E9D1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#074E9A
Tritanopia (blue-blind)
#733D5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771e9d;
/* rgb */ color: rgb(119, 30, 157);
/* oklch */ color: oklch(44.3% 0.194 312.9);
Tailwind
colors: {
  custom: {
    50: '#a366bb',
    500: '#771e9d',
    950: '#000000',
  },
}
SCSS
$custom: #771e9d;
$custom-light: #a366bb;
$custom-dark: #000000;
JSON
{
  "hex": "#771e9d",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 282.047,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44305,
    "c": 0.19396,
    "h": 312.9
  },
  "luminance": 0.07285
}

Semantic roles & 50–950 ramp

primary
#771E9D
secondary
#75C254
accent
#EB3D71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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