#771A93#771A93

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

Color values

HEX#771A93
RGBrgb(119, 26, 147)
HSLhsl(286, 70%, 34%)
HSVhsv(286, 82%, 58%)
CMYKcmyk(19%, 82.3%, 0%, 42.4%)
CIE-LABlab(31.27, 55.45, -45.99)
CIE-LCHlch(31.27, 72.04, 320.33°)
OKLaboklab(43.25% 0.1371 -0.1297)
OKLCHoklch(43.25% 0.189 316.6)
XYZxyz(13.2428, 6.7679, 28.2069)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A93 #36931A
analogous
#3B1A93 #771A93 #931A73
triadic
#771A93 #93771A #1A9377
tetradic
#771A93 #933B1A #36931A #1A7393
square
#771A93 #933B1A #36931A #1A7393
split-complementary
#771A93 #73931A #1A933B
monochromatic
#23082B #4D115F #771A93 #A123C7 #BC49DF

Accessibility & contrast

On white

8.92
#771A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#771A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A93
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A93#FFFFFF#000000##FFFFFF
##771A931.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771a93;
/* rgb */ color: rgb(119, 26, 147);
/* oklch */ color: oklch(43.2% 0.189 316.6);
Tailwind
colors: {
  custom: {
    50: '#a264b3',
    500: '#771a93',
    950: '#000000',
  },
}
SCSS
$custom: #771a93;
$custom-light: #a264b3;
$custom-dark: #000000;
JSON
{
  "hex": "#771a93",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 286.116,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.18877,
    "h": 316.6
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#771A93
secondary
#64C048
accent
#ED3B64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771A93

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

Preview Lab → · Contrast checker → · Palette generator →

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