#781A90#781A90

#781A90 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.2% C 0.187 H 318.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#781A90
RGBrgb(120, 26, 144)
HSLhsl(288, 69%, 33%)
HSVhsv(288, 82%, 56%)
CMYKcmyk(16.7%, 81.9%, 0%, 43.5%)
CIE-LABlab(31.22, 55.05, -44.22)
CIE-LCHlch(31.22, 70.61, 321.23°)
OKLaboklab(43.18% 0.139 -0.1245)
OKLCHoklch(43.18% 0.187 318.1)
XYZxyz(13.1485, 6.7461, 26.9897)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A90 #32901A
analogous
#3D1A90 #781A90 #901A6D
triadic
#781A90 #90781A #1A9078
tetradic
#781A90 #903D1A #32901A #1A6D90
square
#781A90 #903D1A #32901A #1A6D90
split-complementary
#781A90 #6D901A #1A903D
monochromatic
#220728 #4D115C #781A90 #A323C4 #BF47DE

Accessibility & contrast

On white

8.94
#781A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#781A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A90
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A90#FFFFFF#000000##FFFFFF
##781A901.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#204C8E
Tritanopia (blue-blind)
#773556
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #781a90;
/* rgb */ color: rgb(120, 26, 144);
/* oklch */ color: oklch(43.2% 0.187 318.1);
Tailwind
colors: {
  custom: {
    50: '#a364b1',
    500: '#781a90',
    950: '#000000',
  },
}
SCSS
$custom: #781a90;
$custom-light: #a364b1;
$custom-dark: #000000;
JSON
{
  "hex": "#781a90",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 287.797,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43175,
    "c": 0.18655,
    "h": 318.1
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#781A90
secondary
#5FBF47
accent
#EC3C60
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781A90

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

Preview Lab → · Contrast checker → · Palette generator →

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