#771D94#771D94

#771D94 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.187 H 316.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#771D94
RGBrgb(119, 29, 148)
HSLhsl(285, 67%, 35%)
HSVhsv(285, 80%, 58%)
CMYKcmyk(19.6%, 80.4%, 0%, 42%)
CIE-LABlab(31.67, 54.71, -45.97)
CIE-LCHlch(31.67, 71.46, 319.96°)
OKLaboklab(43.55% 0.1346 -0.1297)
OKLCHoklch(43.55% 0.187 316.1)
XYZxyz(13.3916, 6.9393, 28.6452)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D94 #3A941D
analogous
#3B1D94 #771D94 #941D76
triadic
#771D94 #94771D #1D9477
tetradic
#771D94 #943B1D #3A941D #1D7694
square
#771D94 #943B1D #3A941D #1D7694
split-complementary
#771D94 #76941D #1D943B
monochromatic
#25092E #4E1361 #771D94 #A027C7 #BA4FDC

Accessibility & contrast

On white

8.79
#771D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#771D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D94
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D94#FFFFFF#000000##FFFFFF
##771D941.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#1B4D91
Tritanopia (blue-blind)
#753959
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771d94;
/* rgb */ color: rgb(119, 29, 148);
/* oklch */ color: oklch(43.5% 0.187 316.1);
Tailwind
colors: {
  custom: {
    50: '#a265b4',
    500: '#771d94',
    950: '#000000',
  },
}
SCSS
$custom: #771d94;
$custom-light: #a265b4;
$custom-dark: #000000;
JSON
{
  "hex": "#771d94",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 285.378,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43548,
    "c": 0.18688,
    "h": 316.1
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

primary
#771D94
secondary
#69BF4E
accent
#EA3E68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771D94

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

Preview Lab → · Contrast checker → · Palette generator →

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