#771A95#771A95

#771A95 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.191 H 315.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#771A95
RGBrgb(119, 26, 149)
HSLhsl(285, 70%, 34%)
HSVhsv(285, 83%, 58%)
CMYKcmyk(20.1%, 82.6%, 0%, 41.6%)
CIE-LABlab(31.42, 55.84, -46.98)
CIE-LCHlch(31.42, 72.98, 319.93°)
OKLaboklab(43.4% 0.1368 -0.1326)
OKLCHoklch(43.4% 0.191 315.9)
XYZxyz(13.4011, 6.8312, 29.0406)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A95 #38951A
analogous
#3A1A95 #771A95 #951A76
triadic
#771A95 #95771A #1A9577
tetradic
#771A95 #953A1A #38951A #1A7695
square
#771A95 #953A1A #38951A #1A7695
split-complementary
#771A95 #76951A #1A953A
monochromatic
#24082D #4D1161 #771A95 #A123C9 #BB4ADF

Accessibility & contrast

On white

8.87
#771A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#771A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A95
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A95#FFFFFF#000000##FFFFFF
##771A951.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#164C92
Tritanopia (blue-blind)
#753859
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771a95;
/* rgb */ color: rgb(119, 26, 149);
/* oklch */ color: oklch(43.4% 0.191 315.9);
Tailwind
colors: {
  custom: {
    50: '#a364b5',
    500: '#771a95',
    950: '#000000',
  },
}
SCSS
$custom: #771a95;
$custom-light: #a364b5;
$custom-dark: #000000;
JSON
{
  "hex": "#771a95",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 285.366,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43396,
    "c": 0.1905,
    "h": 315.9
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#771A95
secondary
#67C14A
accent
#ED3B66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771A95

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

Preview Lab → · Contrast checker → · Palette generator →

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