#771D96#771D96

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

Color values

HEX#771D96
RGBrgb(119, 29, 150)
HSLhsl(285, 68%, 35%)
HSVhsv(285, 81%, 59%)
CMYKcmyk(20.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(31.81, 55.11, -46.96)
CIE-LCHlch(31.81, 72.40, 319.57°)
OKLaboklab(43.7% 0.1342 -0.1326)
OKLCHoklch(43.7% 0.189 315.4)
XYZxyz(13.5512, 7.0032, 29.4862)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D96 #3C961D
analogous
#3A1D96 #771D96 #961D79
triadic
#771D96 #96771D #1D9677
tetradic
#771D96 #963A1D #3C961D #1D7996
square
#771D96 #963A1D #3C961D #1D7996
split-complementary
#771D96 #79961D #1D963A
monochromatic
#26092F #4E1363 #771D96 #A027C9 #B950DD

Accessibility & contrast

On white

8.75
#771D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771D96
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D96#FFFFFF#000000##FFFFFF
##771D961.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#174D93
Tritanopia (blue-blind)
#743A5A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #771d96;
/* rgb */ color: rgb(119, 29, 150);
/* oklch */ color: oklch(43.7% 0.189 315.4);
Tailwind
colors: {
  custom: {
    50: '#a265b6',
    500: '#771d96',
    950: '#000000',
  },
}
SCSS
$custom: #771d96;
$custom-light: #a265b6;
$custom-dark: #000000;
JSON
{
  "hex": "#771d96",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 284.628,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43697,
    "c": 0.18865,
    "h": 315.4
  },
  "luminance": 0.07003
}

Semantic roles & 50–950 ramp

primary
#771D96
secondary
#6CC04F
accent
#EA3D6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771D96

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

Preview Lab → · Contrast checker → · Palette generator →

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