#771E9B#771E9B

#771E9B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.192 H 313.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#771E9B
RGBrgb(119, 30, 155)
HSLhsl(283, 68%, 36%)
HSVhsv(283, 81%, 61%)
CMYKcmyk(23.2%, 80.6%, 0%, 39.2%)
CIE-LABlab(32.30, 55.80, -49.23)
CIE-LCHlch(32.30, 74.41, 318.58°)
OKLaboklab(44.15% 0.1324 -0.1393)
OKLCHoklch(44.15% 0.192 313.6)
XYZxyz(13.9874, 7.2175, 31.6603)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E9B #429B1E
analogous
#391E9B #771E9B #9B1E81
triadic
#771E9B #9B771E #1E9B77
tetradic
#771E9B #9B391E #429B1E #1E819B
square
#771E9B #9B391E #429B1E #1E819B
split-complementary
#771E9B #819B1E #1E9B39
monochromatic
#280A34 #501468 #771E9B #9E28CE #B755DE

Accessibility & contrast

On white

8.59
#771E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#771E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E9B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E9B#FFFFFF#000000##FFFFFF
##771E9B1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#0E4E98
Tritanopia (blue-blind)
#733D5D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771e9b;
/* rgb */ color: rgb(119, 30, 155);
/* oklch */ color: oklch(44.2% 0.192 313.6);
Tailwind
colors: {
  custom: {
    50: '#a366b9',
    500: '#771e9b',
    950: '#000000',
  },
}
SCSS
$custom: #771e9b;
$custom-light: #a366b9;
$custom-dark: #000000;
JSON
{
  "hex": "#771e9b",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 282.72,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44152,
    "c": 0.19217,
    "h": 313.6
  },
  "luminance": 0.07217
}

Semantic roles & 50–950 ramp

primary
#771E9B
secondary
#73C253
accent
#EA3D6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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