#771EA1#771EA1

#771EA1 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.6% C 0.198 H 311.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#771EA1
RGBrgb(119, 30, 161)
HSLhsl(281, 69%, 37%)
HSVhsv(281, 81%, 63%)
CMYKcmyk(26.1%, 81.4%, 0%, 36.9%)
CIE-LABlab(32.75, 57.04, -52.13)
CIE-LCHlch(32.75, 77.28, 317.58°)
OKLaboklab(44.62% 0.1311 -0.1478)
OKLCHoklch(44.62% 0.198 311.6)
XYZxyz(14.5038, 7.4241, 34.3803)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771EA1 #48A11E
analogous
#351EA1 #771EA1 #A11E8A
triadic
#771EA1 #A1771E #1EA177
tetradic
#771EA1 #A1351E #48A11E #1E8AA1
square
#771EA1 #A1351E #48A11E #1E8AA1
split-complementary
#771EA1 #8AA11E #1EA135
monochromatic
#2B0B3A #51146D #771EA1 #9D28D5 #B559E0

Accessibility & contrast

On white

8.45
#771EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771EA1
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771EA1#FFFFFF#000000##FFFFFF
##771EA11.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771ea1;
/* rgb */ color: rgb(119, 30, 161);
/* oklch */ color: oklch(44.6% 0.198 311.6);
Tailwind
colors: {
  custom: {
    50: '#a366be',
    500: '#771ea1',
    950: '#000000',
  },
}
SCSS
$custom: #771ea1;
$custom-light: #a366be;
$custom-dark: #000000;
JSON
{
  "hex": "#771ea1",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 280.763,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44615,
    "c": 0.19756,
    "h": 311.6
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#771EA1
secondary
#7AC457
accent
#EB3C74
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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