#771E9F#771E9F

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

Color values

HEX#771E9F
RGBrgb(119, 30, 159)
HSLhsl(281, 68%, 37%)
HSVhsv(281, 81%, 62%)
CMYKcmyk(25.2%, 81.1%, 0%, 37.6%)
CIE-LABlab(32.60, 56.63, -51.17)
CIE-LCHlch(32.60, 76.32, 317.90°)
OKLaboklab(44.46% 0.1316 -0.1449)
OKLCHoklch(44.46% 0.196 312.2)
XYZxyz(14.3289, 7.3541, 33.4588)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E9F #469F1E
analogous
#361E9F #771E9F #9F1E87
triadic
#771E9F #9F771E #1E9F77
tetradic
#771E9F #9F361E #469F1E #1E879F
square
#771E9F #9F361E #469F1E #1E879F
split-complementary
#771E9F #879F1E #1E9F36
monochromatic
#2A0B38 #50146C #771E9F #9E28D2 #B558DF

Accessibility & contrast

On white

8.50
#771E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#771E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E9F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E9F#FFFFFF#000000##FFFFFF
##771E9F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#723E5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #771e9f;
/* rgb */ color: rgb(119, 30, 159);
/* oklch */ color: oklch(44.5% 0.196 312.2);
Tailwind
colors: {
  custom: {
    50: '#a366bc',
    500: '#771e9f',
    950: '#000000',
  },
}
SCSS
$custom: #771e9f;
$custom-light: #a366bc;
$custom-dark: #000000;
JSON
{
  "hex": "#771e9f",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 281.395,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4446,
    "c": 0.19576,
    "h": 312.2
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#771E9F
secondary
#78C356
accent
#EB3D73
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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