#781AA0#781AA0

#781AA0 is a dark, highly saturated purple. Relative luminance 0.073; OKLCH L 44.4% C 0.200 H 312.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#781AA0
RGBrgb(120, 26, 160)
HSLhsl(282, 72%, 36%)
HSVhsv(282, 84%, 63%)
CMYKcmyk(25%, 83.8%, 0%, 37.3%)
CIE-LABlab(32.41, 58.23, -52.07)
CIE-LCHlch(32.41, 78.11, 318.20°)
OKLaboklab(44.39% 0.1356 -0.1475)
OKLCHoklch(44.39% 0.2 312.6)
XYZxyz(14.4591, 7.2704, 33.8925)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781AA0 #42A01A
analogous
#351AA0 #781AA0 #A01A85
triadic
#781AA0 #A0781A #1AA078
tetradic
#781AA0 #A0351A #42A01A #1A85A0
square
#781AA0 #A0351A #42A01A #1A85A0
split-complementary
#781AA0 #85A01A #1AA035
monochromatic
#290937 #51116B #781AA0 #9F23D5 #B752E3

Accessibility & contrast

On white

8.56
#781AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#781AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781AA0
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781AA0#FFFFFF#000000##FFFFFF
##781AA01.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#733D5F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #781aa0;
/* rgb */ color: rgb(120, 26, 160);
/* oklch */ color: oklch(44.4% 0.200 312.6);
Tailwind
colors: {
  custom: {
    50: '#a465bd',
    500: '#781aa0',
    950: '#000000',
  },
}
SCSS
$custom: #781aa0;
$custom-light: #a465bd;
$custom-dark: #000000;
JSON
{
  "hex": "#781aa0",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 282.09,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44386,
    "c": 0.2004,
    "h": 312.6
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#781AA0
secondary
#73C550
accent
#EF396F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #781AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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