#781DA1#781DA1

#781DA1 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.7% C 0.199 H 312.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#781DA1
RGBrgb(120, 29, 161)
HSLhsl(281, 69%, 37%)
HSVhsv(281, 82%, 63%)
CMYKcmyk(25.5%, 82%, 0%, 36.9%)
CIE-LABlab(32.80, 57.54, -52.05)
CIE-LCHlch(32.80, 77.59, 317.87°)
OKLaboklab(44.68% 0.1332 -0.1475)
OKLCHoklch(44.68% 0.199 312.1)
XYZxyz(14.6169, 7.4454, 34.3784)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781DA1 #46A11D
analogous
#361DA1 #781DA1 #A11D88
triadic
#781DA1 #A1781D #1DA178
tetradic
#781DA1 #A1361D #46A11D #1D88A1
square
#781DA1 #A1361D #46A11D #1D88A1
split-complementary
#781DA1 #88A11D #1DA136
monochromatic
#2B0A39 #51146D #781DA1 #9F26D5 #B658E1

Accessibility & contrast

On white

8.44
#781DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#781DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781DA1
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781DA1#FFFFFF#000000##FFFFFF
##781DA11.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#733F60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #781da1;
/* rgb */ color: rgb(120, 29, 161);
/* oklch */ color: oklch(44.7% 0.199 312.1);
Tailwind
colors: {
  custom: {
    50: '#a466be',
    500: '#781da1',
    950: '#000000',
  },
}
SCSS
$custom: #781da1;
$custom-light: #a466be;
$custom-dark: #000000;
JSON
{
  "hex": "#781da1",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 281.364,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4468,
    "c": 0.19876,
    "h": 312.1
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#781DA1
secondary
#78C455
accent
#EC3C72
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #781DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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