#771C9F#771C9F

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

Color values

HEX#771C9F
RGBrgb(119, 28, 159)
HSLhsl(282, 70%, 37%)
HSVhsv(282, 82%, 62%)
CMYKcmyk(25.2%, 82.4%, 0%, 37.6%)
CIE-LABlab(32.38, 57.26, -51.52)
CIE-LCHlch(32.38, 77.03, 318.02°)
OKLaboklab(44.31% 0.1331 -0.146)
OKLCHoklch(44.31% 0.198 312.4)
XYZxyz(14.2799, 7.2561, 33.4425)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C9F #449F1C
analogous
#351C9F #771C9F #9F1C86
triadic
#771C9F #9F771C #1C9F77
tetradic
#771C9F #9F351C #449F1C #1C869F
square
#771C9F #9F351C #449F1C #1C869F
split-complementary
#771C9F #869F1C #1C9F35
monochromatic
#290A37 #50136B #771C9F #9E25D3 #B654E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##771C9F#FFFFFF#000000##FFFFFF
##771C9F1.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)
#0048A2
Deuteranopia (green-blind)
#004E9C
Tritanopia (blue-blind)
#723E5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #771c9f;
/* rgb */ color: rgb(119, 28, 159);
/* oklch */ color: oklch(44.3% 0.198 312.4);
Tailwind
colors: {
  custom: {
    50: '#a365bc',
    500: '#771c9f',
    950: '#000000',
  },
}
SCSS
$custom: #771c9f;
$custom-light: #a365bc;
$custom-dark: #000000;
JSON
{
  "hex": "#771c9f",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 281.679,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44308,
    "c": 0.19754,
    "h": 312.4
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#771C9F
secondary
#75C453
accent
#ED3B71
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #771C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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