#771C8F#771C8F

#771C8F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.183 H 318.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#771C8F
RGBrgb(119, 28, 143)
HSLhsl(287, 67%, 34%)
HSVhsv(287, 80%, 56%)
CMYKcmyk(16.8%, 80.4%, 0%, 43.9%)
CIE-LABlab(31.20, 54.04, -43.65)
CIE-LCHlch(31.20, 69.47, 321.07°)
OKLaboklab(43.1% 0.1363 -0.1228)
OKLCHoklch(43.1% 0.183 318)
XYZxyz(12.9802, 6.7362, 26.5978)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C8F #348F1C
analogous
#3D1C8F #771C8F #8F1C6D
triadic
#771C8F #8F771C #1C8F77
tetradic
#771C8F #8F3D1C #348F1C #1C6D8F
square
#771C8F #8F3D1C #348F1C #1C6D8F
split-complementary
#771C8F #6D8F1C #1C8F3D
monochromatic
#220829 #4C125C #771C8F #A226C2 #BD4ADC

Accessibility & contrast

On white

8.95
#771C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#771C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C8F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C8F#FFFFFF#000000##FFFFFF
##771C8F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#214C8D
Tritanopia (blue-blind)
#763656
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771c8f;
/* rgb */ color: rgb(119, 28, 143);
/* oklch */ color: oklch(43.1% 0.183 318.0);
Tailwind
colors: {
  custom: {
    50: '#a264b0',
    500: '#771c8f',
    950: '#000000',
  },
}
SCSS
$custom: #771c8f;
$custom-light: #a264b0;
$custom-dark: #000000;
JSON
{
  "hex": "#771c8f",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 287.478,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43104,
    "c": 0.18346,
    "h": 318
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#771C8F
secondary
#61BE49
accent
#EA3E62
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #771C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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