#781CA0#781CA0

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

Color values

HEX#781CA0
RGBrgb(120, 28, 160)
HSLhsl(282, 70%, 37%)
HSVhsv(282, 83%, 63%)
CMYKcmyk(25%, 82.5%, 0%, 37.3%)
CIE-LABlab(32.62, 57.64, -51.74)
CIE-LCHlch(32.62, 77.45, 318.09°)
OKLaboklab(44.53% 0.1342 -0.1466)
OKLCHoklch(44.53% 0.199 312.5)
XYZxyz(14.5050, 7.3621, 33.9078)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781CA0 #44A01C
analogous
#361CA0 #781CA0 #A01C86
triadic
#781CA0 #A0781C #1CA078
tetradic
#781CA0 #A0361C #44A01C #1C86A0
square
#781CA0 #A0361C #44A01C #1C86A0
split-complementary
#781CA0 #86A01C #1CA036
monochromatic
#2A0A38 #51136C #781CA0 #9F25D4 #B755E1

Accessibility & contrast

On white

8.49
#781CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#781CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781CA0
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781CA0#FFFFFF#000000##FFFFFF
##781CA01.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781ca0;
/* rgb */ color: rgb(120, 28, 160);
/* oklch */ color: oklch(44.5% 0.199 312.5);
Tailwind
colors: {
  custom: {
    50: '#a465bd',
    500: '#781ca0',
    950: '#000000',
  },
}
SCSS
$custom: #781ca0;
$custom-light: #a465bd;
$custom-dark: #000000;
JSON
{
  "hex": "#781ca0",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 281.818,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.19873,
    "h": 312.5
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#781CA0
secondary
#76C453
accent
#ED3B71
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #781CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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