#771B94#771B94

#771B94 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.189 H 316.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#771B94
RGBrgb(119, 27, 148)
HSLhsl(286, 69%, 34%)
HSVhsv(286, 82%, 58%)
CMYKcmyk(19.6%, 81.8%, 0%, 42%)
CIE-LABlab(31.45, 55.34, -46.32)
CIE-LCHlch(31.45, 72.17, 320.07°)
OKLaboklab(43.4% 0.1362 -0.1307)
OKLCHoklch(43.4% 0.189 316.2)
XYZxyz(13.3441, 6.8445, 28.6294)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B94 #38941B
analogous
#3B1B94 #771B94 #941B75
triadic
#771B94 #94771B #1B9477
tetradic
#771B94 #943B1B #38941B #1B7594
square
#771B94 #943B1B #38941B #1B7594
split-complementary
#771B94 #75941B #1B943B
monochromatic
#24082C #4D1260 #771B94 #A124C8 #BB4BDE

Accessibility & contrast

On white

8.87
#771B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#771B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B94
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B94#FFFFFF#000000##FFFFFF
##771B941.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#194C91
Tritanopia (blue-blind)
#753858
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771b94;
/* rgb */ color: rgb(119, 27, 148);
/* oklch */ color: oklch(43.4% 0.189 316.2);
Tailwind
colors: {
  custom: {
    50: '#a264b4',
    500: '#771b94',
    950: '#000000',
  },
}
SCSS
$custom: #771b94;
$custom-light: #a264b4;
$custom-dark: #000000;
JSON
{
  "hex": "#771b94",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 285.62,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43395,
    "c": 0.18875,
    "h": 316.2
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#771B94
secondary
#67C04B
accent
#EC3C66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771B94

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

Preview Lab → · Contrast checker → · Palette generator →

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