#781AA1#781AA1

#781AA1 is a dark, highly saturated purple. Relative luminance 0.073; OKLCH L 44.5% C 0.201 H 312.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#781AA1
RGBrgb(120, 26, 161)
HSLhsl(282, 72%, 37%)
HSVhsv(282, 84%, 63%)
CMYKcmyk(25.5%, 83.9%, 0%, 36.9%)
CIE-LABlab(32.49, 58.43, -52.55)
CIE-LCHlch(32.49, 78.59, 318.04°)
OKLaboklab(44.47% 0.1354 -0.1489)
OKLCHoklch(44.47% 0.201 312.3)
XYZxyz(14.5470, 7.3055, 34.3551)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781AA1 #43A11A
analogous
#351AA1 #781AA1 #A11A87
triadic
#781AA1 #A1781A #1AA178
tetradic
#781AA1 #A1351A #43A11A #1A87A1
square
#781AA1 #A1351A #43A11A #1A87A1
split-complementary
#781AA1 #87A11A #1AA135
monochromatic
#290938 #51116C #781AA1 #9F23D6 #B752E3

Accessibility & contrast

On white

8.53
#781AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#781AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781AA1
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781AA1#FFFFFF#000000##FFFFFF
##781AA11.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#733E60
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #781aa1;
/* rgb */ color: rgb(120, 26, 161);
/* oklch */ color: oklch(44.5% 0.201 312.3);
Tailwind
colors: {
  custom: {
    50: '#a465be',
    500: '#781aa1',
    950: '#000000',
  },
}
SCSS
$custom: #781aa1;
$custom-light: #a465be;
$custom-dark: #000000;
JSON
{
  "hex": "#781aa1",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 281.778,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.20128,
    "h": 312.3
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#781AA1
secondary
#74C651
accent
#EF3970
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #781AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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