#771C94#771C94

#771C94 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.188 H 316.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#771C94
RGBrgb(119, 28, 148)
HSLhsl(286, 68%, 35%)
HSVhsv(286, 81%, 58%)
CMYKcmyk(19.6%, 81.1%, 0%, 42%)
CIE-LABlab(31.56, 55.03, -46.14)
CIE-LCHlch(31.56, 71.82, 320.02°)
OKLaboklab(43.47% 0.1354 -0.1302)
OKLCHoklch(43.47% 0.188 316.1)
XYZxyz(13.3675, 6.8911, 28.6372)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C94 #39941C
analogous
#3B1C94 #771C94 #941C75
triadic
#771C94 #94771C #1C9477
tetradic
#771C94 #943B1C #39941C #1C7594
square
#771C94 #943B1C #39941C #1C7594
split-complementary
#771C94 #75941C #1C943B
monochromatic
#24092D #4E1261 #771C94 #A026C7 #BA4DDD

Accessibility & contrast

On white

8.83
#771C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#771C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C94
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C94#FFFFFF#000000##FFFFFF
##771C941.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#1A4D91
Tritanopia (blue-blind)
#753859
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #771c94;
/* rgb */ color: rgb(119, 28, 148);
/* oklch */ color: oklch(43.5% 0.188 316.1);
Tailwind
colors: {
  custom: {
    50: '#a264b4',
    500: '#771c94',
    950: '#000000',
  },
}
SCSS
$custom: #771c94;
$custom-light: #a264b4;
$custom-dark: #000000;
JSON
{
  "hex": "#771c94",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 285.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4347,
    "c": 0.18783,
    "h": 316.1
  },
  "luminance": 0.06891
}

Semantic roles & 50–950 ramp

primary
#771C94
secondary
#68C04C
accent
#EB3D67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #771C94

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

Preview Lab → · Contrast checker → · Palette generator →

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