#771F8E#771F8E

#771F8E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.180 H 318.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#771F8E
RGBrgb(119, 31, 142)
HSLhsl(288, 64%, 34%)
HSVhsv(288, 78%, 56%)
CMYKcmyk(16.2%, 78.2%, 0%, 44.3%)
CIE-LABlab(31.48, 52.84, -42.58)
CIE-LCHlch(31.48, 67.87, 321.14°)
OKLaboklab(43.28% 0.1338 -0.1197)
OKLCHoklch(43.28% 0.18 318.2)
XYZxyz(12.9795, 6.8555, 26.2255)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F8E #368E1F
analogous
#401F8E #771F8E #8E1F6E
triadic
#771F8E #8E771F #1F8E77
tetradic
#771F8E #8E401F #368E1F #1F6E8E
square
#771F8E #8E401F #368E1F #1F6E8E
split-complementary
#771F8E #6E8E1F #1F8E40
monochromatic
#23092A #4D145C #771F8E #A12AC0 #BC4FD9

Accessibility & contrast

On white

8.86
#771F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#771F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771F8E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F8E#FFFFFF#000000##FFFFFF
##771F8E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#244D8C
Tritanopia (blue-blind)
#763756
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771f8e;
/* rgb */ color: rgb(119, 31, 142);
/* oklch */ color: oklch(43.3% 0.180 318.2);
Tailwind
colors: {
  custom: {
    50: '#a265b0',
    500: '#771f8e',
    950: '#000000',
  },
}
SCSS
$custom: #771f8e;
$custom-light: #a265b0;
$custom-dark: #000000;
JSON
{
  "hex": "#771f8e",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 287.568,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43277,
    "c": 0.17956,
    "h": 318.2
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#771F8E
secondary
#64BB4D
accent
#E74163
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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