#771E9C#771E9C

#771E9C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.193 H 313.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#771E9C
RGBrgb(119, 30, 156)
HSLhsl(282, 68%, 36%)
HSVhsv(282, 81%, 61%)
CMYKcmyk(23.7%, 80.8%, 0%, 38.8%)
CIE-LABlab(32.37, 56.01, -49.72)
CIE-LCHlch(32.37, 74.89, 318.41°)
OKLaboklab(44.23% 0.1322 -0.1407)
OKLCHoklch(44.23% 0.193 313.2)
XYZxyz(14.0717, 7.2512, 32.1044)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E9C #439C1E
analogous
#381E9C #771E9C #9C1E82
triadic
#771E9C #9C771E #1E9C77
tetradic
#771E9C #9C381E #439C1E #1E829C
square
#771E9C #9C381E #439C1E #1E829C
split-complementary
#771E9C #829C1E #1E9C38
monochromatic
#290A35 #501469 #771E9C #9E28CF #B656DE

Accessibility & contrast

On white

8.57
#771E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#771E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E9C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E9C#FFFFFF#000000##FFFFFF
##771E9C1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#0A4E99
Tritanopia (blue-blind)
#733D5E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771e9c;
/* rgb */ color: rgb(119, 30, 156);
/* oklch */ color: oklch(44.2% 0.193 313.2);
Tailwind
colors: {
  custom: {
    50: '#a366ba',
    500: '#771e9c',
    950: '#000000',
  },
}
SCSS
$custom: #771e9c;
$custom-light: #a366ba;
$custom-dark: #000000;
JSON
{
  "hex": "#771e9c",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 282.381,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.19306,
    "h": 313.2
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#771E9C
secondary
#74C254
accent
#EB3D70
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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