#771C8D#771C8D

#771C8D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.182 H 318.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#771C8D
RGBrgb(119, 28, 141)
HSLhsl(288, 67%, 33%)
HSVhsv(288, 80%, 55%)
CMYKcmyk(15.6%, 80.1%, 0%, 44.7%)
CIE-LABlab(31.06, 53.65, -42.64)
CIE-LCHlch(31.06, 68.53, 321.53°)
OKLaboklab(42.96% 0.1366 -0.1199)
OKLCHoklch(42.96% 0.182 318.7)
XYZxyz(12.8301, 6.6762, 25.8070)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C8D #328D1C
analogous
#3F1C8D #771C8D #8D1C6A
triadic
#771C8D #8D771C #1C8D77
tetradic
#771C8D #8D3F1C #328D1C #1C6A8D
square
#771C8D #8D3F1C #328D1C #1C6A8D
split-complementary
#771C8D #6A8D1C #1C8D3F
monochromatic
#210827 #4C125A #771C8D #A226C0 #BE49DB

Accessibility & contrast

On white

8.99
#771C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#771C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C8D
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C8D#FFFFFF#000000##FFFFFF
##771C8D1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#773555
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771c8d;
/* rgb */ color: rgb(119, 28, 141);
/* oklch */ color: oklch(43.0% 0.182 318.7);
Tailwind
colors: {
  custom: {
    50: '#a264af',
    500: '#771c8d',
    950: '#000000',
  },
}
SCSS
$custom: #771c8d;
$custom-light: #a264af;
$custom-dark: #000000;
JSON
{
  "hex": "#771c8d",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 288.319,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4296,
    "c": 0.18171,
    "h": 318.7
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#771C8D
secondary
#5FBD48
accent
#EA3E5F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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