#771F93#771F93

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

Color values

HEX#771F93
RGBrgb(119, 31, 147)
HSLhsl(286, 65%, 35%)
HSVhsv(286, 79%, 58%)
CMYKcmyk(19%, 78.9%, 0%, 42.4%)
CIE-LABlab(31.83, 53.84, -45.10)
CIE-LCHlch(31.83, 70.23, 320.05°)
OKLaboklab(43.64% 0.1331 -0.1271)
OKLCHoklch(43.64% 0.184 316.3)
XYZxyz(13.3634, 7.0090, 28.2471)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771F93 #3B931F
analogous
#3D1F93 #771F93 #931F75
triadic
#771F93 #93771F #1F9377
tetradic
#771F93 #933D1F #3B931F #1F7593
square
#771F93 #933D1F #3B931F #1F7593
split-complementary
#771F93 #75931F #1F933D
monochromatic
#250A2E #4E1460 #771F93 #A02AC6 #BA52DA

Accessibility & contrast

On white

8.74
#771F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771F93
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771F93#FFFFFF#000000##FFFFFF
##771F931.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771f93;
/* rgb */ color: rgb(119, 31, 147);
/* oklch */ color: oklch(43.6% 0.184 316.3);
Tailwind
colors: {
  custom: {
    50: '#a266b3',
    500: '#771f93',
    950: '#000000',
  },
}
SCSS
$custom: #771f93;
$custom-light: #a266b3;
$custom-dark: #000000;
JSON
{
  "hex": "#771f93",
  "rgb": {
    "r": 119,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 285.517,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43637,
    "c": 0.18402,
    "h": 316.3
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#771F93
secondary
#6BBE50
accent
#E84068
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #771F93

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

Preview Lab → · Contrast checker → · Palette generator →

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