#781E89#781E89

#781E89 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.177 H 320.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#781E89
RGBrgb(120, 30, 137)
HSLhsl(290, 64%, 33%)
HSVhsv(290, 78%, 54%)
CMYKcmyk(12.4%, 78.1%, 0%, 46.3%)
CIE-LABlab(31.18, 52.42, -39.95)
CIE-LCHlch(31.18, 65.91, 322.69°)
OKLaboklab(42.99% 0.1366 -0.112)
OKLCHoklch(42.99% 0.177 320.6)
XYZxyz(12.7248, 6.7284, 24.2905)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E89 #2F891E
analogous
#421E89 #781E89 #891E65
triadic
#781E89 #89781E #1E8978
tetradic
#781E89 #89421E #2F891E #1E6589
square
#781E89 #89421E #2F891E #1E6589
split-complementary
#781E89 #65891E #1E8942
monochromatic
#200825 #4C1357 #781E89 #A429BB #C14AD7

Accessibility & contrast

On white

8.95
#781E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E89
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E89#FFFFFF#000000##FFFFFF
##781E891.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#2A4C87
Tritanopia (blue-blind)
#793453
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #781e89;
/* rgb */ color: rgb(120, 30, 137);
/* oklch */ color: oklch(43.0% 0.177 320.6);
Tailwind
colors: {
  custom: {
    50: '#a365ac',
    500: '#781e89',
    950: '#000000',
  },
}
SCSS
$custom: #781e89;
$custom-light: #a365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#781e89",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 290.467,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.17661,
    "h": 320.6
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#781E89
secondary
#5BBA49
accent
#E7415B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #781E89

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

Preview Lab → · Contrast checker → · Palette generator →

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