#771C82#771C82

#771C82 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.172 H 323.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#771C82
RGBrgb(119, 28, 130)
HSLhsl(294, 65%, 31%)
HSVhsv(294, 78%, 51%)
CMYKcmyk(8.5%, 78.5%, 0%, 49%)
CIE-LABlab(30.32, 51.56, -36.99)
CIE-LCHlch(30.32, 63.45, 324.35°)
OKLaboklab(42.2% 0.1378 -0.1033)
OKLCHoklch(42.2% 0.172 323.1)
XYZxyz(12.0519, 6.3649, 21.7085)
Luminance0.0636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C82 #27821C
analogous
#441C82 #771C82 #821C5A
triadic
#771C82 #82771C #1C8277
tetradic
#771C82 #82441C #27821C #1C5A82
square
#771C82 #82441C #27821C #1C5A82
split-complementary
#771C82 #5A821C #1C8244
monochromatic
#1B061D #491150 #771C82 #A527B4 #C642D6

Accessibility & contrast

On white

9.24
#771C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#771C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C82
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C82#FFFFFF#000000##FFFFFF
##771C821.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#2E4B80
Tritanopia (blue-blind)
#79304E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771c82;
/* rgb */ color: rgb(119, 28, 130);
/* oklch */ color: oklch(42.2% 0.172 323.1);
Tailwind
colors: {
  custom: {
    50: '#a264a7',
    500: '#771c82',
    950: '#000000',
  },
}
SCSS
$custom: #771c82;
$custom-light: #a264a7;
$custom-dark: #000000;
JSON
{
  "hex": "#771c82",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 293.529,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42197,
    "c": 0.17225,
    "h": 323.1
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#771C82
secondary
#51B544
accent
#E84052
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771C82

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

Preview Lab → · Contrast checker → · Palette generator →

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