#771E8D#771E8D

#771E8D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.180 H 318.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#771E8D
RGBrgb(119, 30, 141)
HSLhsl(288, 65%, 34%)
HSVhsv(288, 79%, 55%)
CMYKcmyk(15.6%, 78.7%, 0%, 44.7%)
CIE-LABlab(31.29, 52.99, -42.27)
CIE-LCHlch(31.29, 67.78, 321.42°)
OKLaboklab(43.12% 0.1348 -0.1188)
OKLCHoklch(43.12% 0.18 318.6)
XYZxyz(12.8791, 6.7742, 25.8233)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E8D #348D1E
analogous
#3F1E8D #771E8D #8D1E6B
triadic
#771E8D #8D771E #1E8D77
tetradic
#771E8D #8D3F1E #348D1E #1E6B8D
square
#771E8D #8D3F1E #348D1E #1E6B8D
split-complementary
#771E8D #6B8D1E #1E8D3F
monochromatic
#220928 #4C135B #771E8D #A229BF #BD4CD9

Accessibility & contrast

On white

8.92
#771E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771E8D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E8D#FFFFFF#000000##FFFFFF
##771E8D1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#254C8B
Tritanopia (blue-blind)
#773655
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771e8d;
/* rgb */ color: rgb(119, 30, 141);
/* oklch */ color: oklch(43.1% 0.180 318.6);
Tailwind
colors: {
  custom: {
    50: '#a265af',
    500: '#771e8d',
    950: '#000000',
  },
}
SCSS
$custom: #771e8d;
$custom-light: #a265af;
$custom-dark: #000000;
JSON
{
  "hex": "#771e8d",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 288.108,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43122,
    "c": 0.17971,
    "h": 318.6
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#771E8D
secondary
#61BC4B
accent
#E84061
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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