#771E95#771E95

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

Color values

HEX#771E95
RGBrgb(119, 30, 149)
HSLhsl(285, 66%, 35%)
HSVhsv(285, 80%, 58%)
CMYKcmyk(20.1%, 79.9%, 0%, 41.6%)
CIE-LABlab(31.85, 54.58, -46.28)
CIE-LCHlch(31.85, 71.56, 319.71°)
OKLaboklab(43.7% 0.1336 -0.1306)
OKLCHoklch(43.7% 0.187 315.6)
XYZxyz(13.4960, 7.0209, 29.0722)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E95 #3C951E
analogous
#3C1E95 #771E95 #951E77
triadic
#771E95 #95771E #1E9577
tetradic
#771E95 #953C1E #3C951E #1E7795
square
#771E95 #953C1E #3C951E #1E7795
split-complementary
#771E95 #77951E #1E953C
monochromatic
#26092F #4E1462 #771E95 #A028C8 #B951DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771E95#FFFFFF#000000##FFFFFF
##771E951.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)
#004698
Deuteranopia (green-blind)
#1A4D92
Tritanopia (blue-blind)
#753A5A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771e95;
/* rgb */ color: rgb(119, 30, 149);
/* oklch */ color: oklch(43.7% 0.187 315.6);
Tailwind
colors: {
  custom: {
    50: '#a265b5',
    500: '#771e95',
    950: '#000000',
  },
}
SCSS
$custom: #771e95;
$custom-light: #a265b5;
$custom-dark: #000000;
JSON
{
  "hex": "#771e95",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 284.874,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43702,
    "c": 0.18681,
    "h": 315.6
  },
  "luminance": 0.0702
}

Semantic roles & 50–950 ramp

primary
#771E95
secondary
#6CBF50
accent
#E93E6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771E95

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

Preview Lab → · Contrast checker → · Palette generator →

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