#771A94#771A94

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

Color values

HEX#771A94
RGBrgb(119, 26, 148)
HSLhsl(286, 70%, 34%)
HSVhsv(286, 82%, 58%)
CMYKcmyk(19.6%, 82.4%, 0%, 42%)
CIE-LABlab(31.35, 55.65, -46.49)
CIE-LCHlch(31.35, 72.51, 320.12°)
OKLaboklab(43.32% 0.1369 -0.1312)
OKLCHoklch(43.32% 0.19 316.2)
XYZxyz(13.3216, 6.7994, 28.6219)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A94 #37941A
analogous
#3A1A94 #771A94 #941A74
triadic
#771A94 #94771A #1A9477
tetradic
#771A94 #943A1A #37941A #1A7494
square
#771A94 #943A1A #37941A #1A7494
split-complementary
#771A94 #74941A #1A943A
monochromatic
#23082C #4D1160 #771A94 #A123C8 #BB49DF

Accessibility & contrast

On white

8.90
#771A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771A94
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A94#FFFFFF#000000##FFFFFF
##771A941.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#184C91
Tritanopia (blue-blind)
#753758
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771a94;
/* rgb */ color: rgb(119, 26, 148);
/* oklch */ color: oklch(43.3% 0.190 316.2);
Tailwind
colors: {
  custom: {
    50: '#a264b4',
    500: '#771a94',
    950: '#000000',
  },
}
SCSS
$custom: #771a94;
$custom-light: #a264b4;
$custom-dark: #000000;
JSON
{
  "hex": "#771a94",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 285.738,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43321,
    "c": 0.18963,
    "h": 316.2
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#771A94
secondary
#65C149
accent
#ED3B65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771A94

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

Preview Lab → · Contrast checker → · Palette generator →

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