#771F87#771F87

#771F87 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.173 H 320.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#771F87
RGBrgb(119, 31, 135)
HSLhsl(291, 63%, 33%)
HSVhsv(291, 77%, 53%)
CMYKcmyk(11.9%, 77%, 0%, 47.1%)
CIE-LABlab(31.00, 51.48, -39.01)
CIE-LCHlch(31.00, 64.59, 322.85°)
OKLaboklab(42.79% 0.1346 -0.1093)
OKLCHoklch(42.79% 0.173 320.9)
XYZxyz(12.4704, 6.6519, 23.5441)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F87 #2F871F
analogous
#431F87 #771F87 #871F63
triadic
#771F87 #87771F #1F8777
tetradic
#771F87 #87431F #2F871F #1F6387
square
#771F87 #87431F #2F871F #1F6387
split-complementary
#771F87 #63871F #1F8743
monochromatic
#1F0823 #4B1455 #771F87 #A32AB9 #C04BD6

Accessibility & contrast

On white

9.01
#771F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#771F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F87
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F87#FFFFFF#000000##FFFFFF
##771F871.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#2B4C85
Tritanopia (blue-blind)
#783452
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771f87;
/* rgb */ color: rgb(119, 31, 135);
/* oklch */ color: oklch(42.8% 0.173 320.9);
Tailwind
colors: {
  custom: {
    50: '#a265aa',
    500: '#771f87',
    950: '#000000',
  },
}
SCSS
$custom: #771f87;
$custom-light: #a265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#771f87",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 290.769,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42789,
    "c": 0.17337,
    "h": 320.9
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#771F87
secondary
#5BB84A
accent
#E6425B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771F87

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

Preview Lab → · Contrast checker → · Palette generator →

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