#771E82#771E82

#771E82 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.170 H 323.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#771E82
RGBrgb(119, 30, 130)
HSLhsl(293, 63%, 31%)
HSVhsv(293, 77%, 51%)
CMYKcmyk(8.5%, 76.9%, 0%, 49%)
CIE-LABlab(30.55, 50.88, -36.61)
CIE-LCHlch(30.55, 62.68, 324.27°)
OKLaboklab(42.37% 0.136 -0.1022)
OKLCHoklch(42.37% 0.17 323.1)
XYZxyz(12.1009, 6.4629, 21.7249)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E82 #29821E
analogous
#451E82 #771E82 #821E5B
triadic
#771E82 #82771E #1E8277
tetradic
#771E82 #82451E #29821E #1E5B82
square
#771E82 #82451E #29821E #1E5B82
split-complementary
#771E82 #5B821E #1E8245
monochromatic
#1C071F #491350 #771E82 #A529B4 #C546D4

Accessibility & contrast

On white

9.16
#771E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#771E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E82
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E82#FFFFFF#000000##FFFFFF
##771E821.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#2F4B80
Tritanopia (blue-blind)
#79314F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771e82;
/* rgb */ color: rgb(119, 30, 130);
/* oklch */ color: oklch(42.4% 0.170 323.1);
Tailwind
colors: {
  custom: {
    50: '#a264a7',
    500: '#771e82',
    950: '#000000',
  },
}
SCSS
$custom: #771e82;
$custom-light: #a264a7;
$custom-dark: #000000;
JSON
{
  "hex": "#771e82",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 293.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42365,
    "c": 0.17012,
    "h": 323.1
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#771E82
secondary
#53B547
accent
#E64254
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771E82

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

Preview Lab → · Contrast checker → · Palette generator →

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