#771EA0#771EA0

#771EA0 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.197 H 311.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#771EA0
RGBrgb(119, 30, 160)
HSLhsl(281, 68%, 37%)
HSVhsv(281, 81%, 63%)
CMYKcmyk(25.6%, 81.3%, 0%, 37.3%)
CIE-LABlab(32.68, 56.84, -51.65)
CIE-LCHlch(32.68, 76.80, 317.74°)
OKLaboklab(44.54% 0.1313 -0.1464)
OKLCHoklch(44.54% 0.197 311.9)
XYZxyz(14.4160, 7.3890, 33.9177)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771EA0 #47A01E
analogous
#361EA0 #771EA0 #A01E88
triadic
#771EA0 #A0771E #1EA077
tetradic
#771EA0 #A0361E #47A01E #1E88A0
square
#771EA0 #A0361E #47A01E #1E88A0
split-complementary
#771EA0 #88A01E #1EA036
monochromatic
#2A0B39 #51146C #771EA0 #9D28D4 #B559E0

Accessibility & contrast

On white

8.48
#771EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#771EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771EA0
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771EA0#FFFFFF#000000##FFFFFF
##771EA01.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#723F60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #771ea0;
/* rgb */ color: rgb(119, 30, 160);
/* oklch */ color: oklch(44.5% 0.197 311.9);
Tailwind
colors: {
  custom: {
    50: '#a366bd',
    500: '#771ea0',
    950: '#000000',
  },
}
SCSS
$custom: #771ea0;
$custom-light: #a366bd;
$custom-dark: #000000;
JSON
{
  "hex": "#771ea0",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 281.077,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44537,
    "c": 0.19666,
    "h": 311.9
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#771EA0
secondary
#79C456
accent
#EB3D74
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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