#771E96#771E96

#771E96 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.188 H 315.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#771E96
RGBrgb(119, 30, 150)
HSLhsl(285, 67%, 35%)
HSVhsv(285, 80%, 59%)
CMYKcmyk(20.7%, 80%, 0%, 41.2%)
CIE-LABlab(31.93, 54.78, -46.77)
CIE-LCHlch(31.93, 72.03, 319.51°)
OKLaboklab(43.78% 0.1334 -0.132)
OKLCHoklch(43.78% 0.188 315.3)
XYZxyz(13.5761, 7.0530, 29.4945)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E96 #3D961E
analogous
#3B1E96 #771E96 #961E79
triadic
#771E96 #96771E #1E9677
tetradic
#771E96 #963B1E #3D961E #1E7996
square
#771E96 #963B1E #3D961E #1E7996
split-complementary
#771E96 #79961E #1E963B
monochromatic
#260A30 #4F1463 #771E96 #9F28C9 #B952DC

Accessibility & contrast

On white

8.71
#771E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#771E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E96
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E96#FFFFFF#000000##FFFFFF
##771E961.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771e96;
/* rgb */ color: rgb(119, 30, 150);
/* oklch */ color: oklch(43.8% 0.188 315.3);
Tailwind
colors: {
  custom: {
    50: '#a265b6',
    500: '#771e96',
    950: '#000000',
  },
}
SCSS
$custom: #771e96;
$custom-light: #a265b6;
$custom-dark: #000000;
JSON
{
  "hex": "#771e96",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 284.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43776,
    "c": 0.1877,
    "h": 315.3
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#771E96
secondary
#6DBF50
accent
#EA3E6A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771E96

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

Preview Lab → · Contrast checker → · Palette generator →

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