#781C76#781C76

#781C76 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.163 H 329.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#781C76
RGBrgb(120, 28, 118)
HSLhsl(301, 62%, 29%)
HSVhsv(301, 77%, 47%)
CMYKcmyk(0%, 76.7%, 1.7%, 52.9%)
CIE-LABlab(29.74, 49.63, -30.32)
CIE-LCHlch(29.74, 58.16, 328.58°)
OKLaboklab(41.59% 0.1395 -0.0839)
OKLCHoklch(41.59% 0.163 329)
XYZxyz(11.4309, 6.1324, 17.7177)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C76 #1C781E
analogous
#4C1C78 #781C76 #781C48
triadic
#781C76 #76781C #1C7678
tetradic
#781C76 #784C1C #1C781E #1C4878
square
#781C76 #784C1C #1C781E #1C4878
split-complementary
#781C76 #48781C #1C784C
monochromatic
#190618 #461045 #781C76 #AA28A7 #D23DCE

Accessibility & contrast

On white

9.43
#781C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#781C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C76
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C76#FFFFFF#000000##FFFFFF
##781C761.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3E78
Deuteranopia (green-blind)
#374A74
Tritanopia (blue-blind)
#7C2A48
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781c76;
/* rgb */ color: rgb(120, 28, 118);
/* oklch */ color: oklch(41.6% 0.163 329.0);
Tailwind
colors: {
  custom: {
    50: '#a2639e',
    500: '#781c76',
    950: '#000000',
  },
}
SCSS
$custom: #781c76;
$custom-light: #a2639e;
$custom-dark: #000000;
JSON
{
  "hex": "#781c76",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 301.304,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41585,
    "c": 0.16276,
    "h": 329
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#781C76
secondary
#44AC46
accent
#E54643
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781C76

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

Preview Lab → · Contrast checker → · Palette generator →

#781C76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva