#771C83#771C83

#771C83 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.173 H 322.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#771C83
RGBrgb(119, 28, 131)
HSLhsl(293, 65%, 31%)
HSVhsv(293, 79%, 51%)
CMYKcmyk(9.2%, 78.6%, 0%, 48.6%)
CIE-LABlab(30.38, 51.75, -37.51)
CIE-LCHlch(30.38, 63.91, 324.06°)
OKLaboklab(42.26% 0.1377 -0.1049)
OKLCHoklch(42.26% 0.173 322.7)
XYZxyz(12.1193, 6.3919, 22.0637)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771C83 #28831C
analogous
#431C83 #771C83 #831C5B
triadic
#771C83 #83771C #1C8377
tetradic
#771C83 #83431C #28831C #1C5B83
square
#771C83 #83431C #28831C #1C5B83
split-complementary
#771C83 #5B831C #1C8343
monochromatic
#1B061E #491151 #771C83 #A527B5 #C543D7

Accessibility & contrast

On white

9.22
#771C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#771C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771C83
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771C83#FFFFFF#000000##FFFFFF
##771C831.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#2D4B81
Tritanopia (blue-blind)
#79304F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #771c83;
/* rgb */ color: rgb(119, 28, 131);
/* oklch */ color: oklch(42.3% 0.173 322.7);
Tailwind
colors: {
  custom: {
    50: '#a264a7',
    500: '#771c83',
    950: '#000000',
  },
}
SCSS
$custom: #771c83;
$custom-light: #a264a7;
$custom-dark: #000000;
JSON
{
  "hex": "#771c83",
  "rgb": {
    "r": 119,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 293.01,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42264,
    "c": 0.1731,
    "h": 322.7
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#771C83
secondary
#52B645
accent
#E84054
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771C83

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

Preview Lab → · Contrast checker → · Palette generator →

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