#771E94#771E94

#771E94 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.186 H 316.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#771E94
RGBrgb(119, 30, 148)
HSLhsl(285, 66%, 35%)
HSVhsv(285, 80%, 58%)
CMYKcmyk(19.6%, 79.7%, 0%, 42%)
CIE-LABlab(31.78, 54.38, -45.78)
CIE-LCHlch(31.78, 71.09, 319.91°)
OKLaboklab(43.63% 0.1338 -0.1291)
OKLCHoklch(43.63% 0.186 316)
XYZxyz(13.4165, 6.9891, 28.6536)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E94 #3B941E
analogous
#3C1E94 #771E94 #941E76
triadic
#771E94 #94771E #1E9477
tetradic
#771E94 #943C1E #3B941E #1E7694
square
#771E94 #943C1E #3B941E #1E7694
split-complementary
#771E94 #76941E #1E943C
monochromatic
#25092E #4E1461 #771E94 #A028C7 #BA51DC

Accessibility & contrast

On white

8.76
#771E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#771E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E94
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E94#FFFFFF#000000##FFFFFF
##771E941.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#1C4D92
Tritanopia (blue-blind)
#753959
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771e94;
/* rgb */ color: rgb(119, 30, 148);
/* oklch */ color: oklch(43.6% 0.186 316.0);
Tailwind
colors: {
  custom: {
    50: '#a265b4',
    500: '#771e94',
    950: '#000000',
  },
}
SCSS
$custom: #771e94;
$custom-light: #a265b4;
$custom-dark: #000000;
JSON
{
  "hex": "#771e94",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 285.254,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.18591,
    "h": 316
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#771E94
secondary
#6BBF4F
accent
#E93F69
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771E94

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

Preview Lab → · Contrast checker → · Palette generator →

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