#781DA0#781DA0

#781DA0 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.6% C 0.198 H 312.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#781DA0
RGBrgb(120, 29, 160)
HSLhsl(282, 69%, 37%)
HSVhsv(282, 82%, 63%)
CMYKcmyk(25%, 81.9%, 0%, 37.3%)
CIE-LABlab(32.72, 57.33, -51.57)
CIE-LCHlch(32.72, 77.11, 318.03°)
OKLaboklab(44.6% 0.1335 -0.1461)
OKLCHoklch(44.6% 0.198 312.4)
XYZxyz(14.5291, 7.4103, 33.9159)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781DA0 #45A01D
analogous
#361DA0 #781DA0 #A01D87
triadic
#781DA0 #A0781D #1DA078
tetradic
#781DA0 #A0361D #45A01D #1D87A0
square
#781DA0 #A0361D #45A01D #1D87A0
split-complementary
#781DA0 #87A01D #1DA036
monochromatic
#2A0A38 #51146C #781DA0 #9F26D4 #B657E1

Accessibility & contrast

On white

8.46
#781DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#781DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781DA0
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781DA0#FFFFFF#000000##FFFFFF
##781DA01.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#004F9D
Tritanopia (blue-blind)
#733E60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #781da0;
/* rgb */ color: rgb(120, 29, 160);
/* oklch */ color: oklch(44.6% 0.198 312.4);
Tailwind
colors: {
  custom: {
    50: '#a466bd',
    500: '#781da0',
    950: '#000000',
  },
}
SCSS
$custom: #781da0;
$custom-light: #a466bd;
$custom-dark: #000000;
JSON
{
  "hex": "#781da0",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 281.679,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44602,
    "c": 0.19787,
    "h": 312.4
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #781DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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