#771D8E#771D8E

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

Color values

HEX#771D8E
RGBrgb(119, 29, 142)
HSLhsl(288, 66%, 34%)
HSVhsv(288, 80%, 56%)
CMYKcmyk(16.2%, 79.6%, 0%, 44.3%)
CIE-LABlab(31.24, 53.52, -42.96)
CIE-LCHlch(31.24, 68.63, 321.25°)
OKLaboklab(43.11% 0.1356 -0.1208)
OKLCHoklch(43.11% 0.182 318.3)
XYZxyz(12.9289, 6.7543, 26.2086)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D8E #348E1D
analogous
#3E1D8E #771D8E #8E1D6C
triadic
#771D8E #8E771D #1D8E77
tetradic
#771D8E #8E3E1D #348E1D #1D6C8E
square
#771D8E #8E3E1D #348E1D #1D6C8E
split-complementary
#771D8E #6C8E1D #1D8E3E
monochromatic
#220828 #4C135B #771D8E #A227C1 #BD4BDA

Accessibility & contrast

On white

8.93
#771D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771D8E
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D8E#FFFFFF#000000##FFFFFF
##771D8E1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#234C8C
Tritanopia (blue-blind)
#763655
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #771d8e;
/* rgb */ color: rgb(119, 29, 142);
/* oklch */ color: oklch(43.1% 0.182 318.3);
Tailwind
colors: {
  custom: {
    50: '#a265b0',
    500: '#771d8e',
    950: '#000000',
  },
}
SCSS
$custom: #771d8e;
$custom-light: #a265b0;
$custom-dark: #000000;
JSON
{
  "hex": "#771d8e",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 287.788,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43111,
    "c": 0.1816,
    "h": 318.3
  },
  "luminance": 0.06754
}

Semantic roles & 50–950 ramp

primary
#771D8E
secondary
#61BD4A
accent
#E93F61
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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