#781EA0#781EA0

#781EA0 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.197 H 312.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#781EA0
RGBrgb(120, 30, 160)
HSLhsl(282, 68%, 37%)
HSVhsv(282, 81%, 63%)
CMYKcmyk(25%, 81.3%, 0%, 37.3%)
CIE-LABlab(32.83, 57.01, -51.39)
CIE-LCHlch(32.83, 76.76, 317.97°)
OKLaboklab(44.68% 0.1327 -0.1456)
OKLCHoklch(44.68% 0.197 312.3)
XYZxyz(14.5540, 7.4601, 33.9242)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781EA0 #46A01E
analogous
#371EA0 #781EA0 #A01E87
triadic
#781EA0 #A0781E #1EA078
tetradic
#781EA0 #A0371E #46A01E #1E87A0
square
#781EA0 #A0371E #46A01E #1E87A0
split-complementary
#781EA0 #87A01E #1EA037
monochromatic
#2B0B39 #51146C #781EA0 #9F28D4 #B659E0

Accessibility & contrast

On white

8.43
#781EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781EA0
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781EA0#FFFFFF#000000##FFFFFF
##781EA01.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781ea0;
/* rgb */ color: rgb(120, 30, 160);
/* oklch */ color: oklch(44.7% 0.197 312.3);
Tailwind
colors: {
  custom: {
    50: '#a466bd',
    500: '#781ea0',
    950: '#000000',
  },
}
SCSS
$custom: #781ea0;
$custom-light: #a466bd;
$custom-dark: #000000;
JSON
{
  "hex": "#781ea0",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 281.538,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44678,
    "c": 0.19697,
    "h": 312.3
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#781EA0
secondary
#78C456
accent
#EB3D72
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #781EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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