#771E8C#771E8C

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

Color values

HEX#771E8C
RGBrgb(119, 30, 140)
HSLhsl(289, 65%, 33%)
HSVhsv(289, 79%, 55%)
CMYKcmyk(15%, 78.6%, 0%, 45.1%)
CIE-LABlab(31.22, 52.79, -41.76)
CIE-LCHlch(31.22, 67.31, 321.66°)
OKLaboklab(43.05% 0.135 -0.1173)
OKLCHoklch(43.05% 0.179 319)
XYZxyz(12.8050, 6.7446, 25.4332)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E8C #338C1E
analogous
#401E8C #771E8C #8C1E6A
triadic
#771E8C #8C771E #1E8C77
tetradic
#771E8C #8C401E #338C1E #1E6A8C
square
#771E8C #8C401E #338C1E #1E6A8C
split-complementary
#771E8C #6A8C1E #1E8C40
monochromatic
#210827 #4C135A #771E8C #A229BE #BE4CD9

Accessibility & contrast

On white

8.94
#771E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771E8C
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E8C#FFFFFF#000000##FFFFFF
##771E8C1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#264C8A
Tritanopia (blue-blind)
#773654
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771e8c;
/* rgb */ color: rgb(119, 30, 140);
/* oklch */ color: oklch(43.1% 0.179 319.0);
Tailwind
colors: {
  custom: {
    50: '#a265ae',
    500: '#771e8c',
    950: '#000000',
  },
}
SCSS
$custom: #771e8c;
$custom-light: #a265ae;
$custom-dark: #000000;
JSON
{
  "hex": "#771e8c",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 288.545,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43051,
    "c": 0.17883,
    "h": 319
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#771E8C
secondary
#60BB4B
accent
#E84060
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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