#781A77#781A77

#781A77 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.166 H 328.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#781A77
RGBrgb(120, 26, 119)
HSLhsl(301, 64%, 29%)
HSVhsv(301, 78%, 47%)
CMYKcmyk(0%, 78.3%, 0.8%, 52.9%)
CIE-LABlab(29.57, 50.46, -31.22)
CIE-LCHlch(29.57, 59.34, 328.25°)
OKLaboklab(41.48% 0.1413 -0.0865)
OKLCHoklch(41.48% 0.166 328.5)
XYZxyz(11.4448, 6.0646, 18.0170)
Luminance0.0606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A77 #1A781B
analogous
#4A1A78 #781A77 #781A48
triadic
#781A77 #77781A #1A7778
tetradic
#781A77 #784A1A #1A781B #1A4878
square
#781A77 #784A1A #1A781B #1A4878
split-complementary
#781A77 #48781A #1A784A
monochromatic
#190519 #460F45 #781A77 #AA25A9 #D438D2

Accessibility & contrast

On white

9.49
#781A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#781A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A77
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A77#FFFFFF#000000##FFFFFF
##781A771.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063E79
Deuteranopia (green-blind)
#354A75
Tritanopia (blue-blind)
#7C2948
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781a77;
/* rgb */ color: rgb(120, 26, 119);
/* oklch */ color: oklch(41.5% 0.166 328.5);
Tailwind
colors: {
  custom: {
    50: '#a2629f',
    500: '#781a77',
    950: '#000000',
  },
}
SCSS
$custom: #781a77;
$custom-light: #a2629f;
$custom-dark: #000000;
JSON
{
  "hex": "#781a77",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 119
  },
  "hsl": {
    "h": 300.638,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41483,
    "c": 0.1657,
    "h": 328.5
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#781A77
secondary
#41AC42
accent
#E74240
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781A77

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

Preview Lab → · Contrast checker → · Palette generator →

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