#771B93#771B93

#771B93 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.188 H 316.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#771B93
RGBrgb(119, 27, 147)
HSLhsl(286, 69%, 34%)
HSVhsv(286, 82%, 58%)
CMYKcmyk(19%, 81.6%, 0%, 42.4%)
CIE-LABlab(31.38, 55.14, -45.82)
CIE-LCHlch(31.38, 71.70, 320.27°)
OKLaboklab(43.32% 0.1364 -0.1292)
OKLCHoklch(43.32% 0.188 316.5)
XYZxyz(13.2653, 6.8130, 28.2144)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B93 #37931B
analogous
#3B1B93 #771B93 #931B73
triadic
#771B93 #93771B #1B9377
tetradic
#771B93 #933B1B #37931B #1B7393
square
#771B93 #933B1B #37931B #1B7393
split-complementary
#771B93 #73931B #1B933B
monochromatic
#23082C #4D125F #771B93 #A124C7 #BB4BDE

Accessibility & contrast

On white

8.89
#771B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#771B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B93
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B93#FFFFFF#000000##FFFFFF
##771B931.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#1B4C90
Tritanopia (blue-blind)
#753758
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771b93;
/* rgb */ color: rgb(119, 27, 147);
/* oklch */ color: oklch(43.3% 0.188 316.5);
Tailwind
colors: {
  custom: {
    50: '#a264b3',
    500: '#771b93',
    950: '#000000',
  },
}
SCSS
$custom: #771b93;
$custom-light: #a264b3;
$custom-dark: #000000;
JSON
{
  "hex": "#771b93",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 286,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4332,
    "c": 0.18788,
    "h": 316.5
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#771B93
secondary
#65C04A
accent
#EC3C65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771B93

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

Preview Lab → · Contrast checker → · Palette generator →

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