#781A89#781A89

#781A89 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.181 H 320.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#781A89
RGBrgb(120, 26, 137)
HSLhsl(291, 68%, 32%)
HSVhsv(291, 81%, 54%)
CMYKcmyk(12.4%, 81%, 0%, 46.3%)
CIE-LABlab(30.73, 53.71, -40.67)
CIE-LCHlch(30.73, 67.37, 322.87°)
OKLaboklab(42.68% 0.14 -0.1141)
OKLCHoklch(42.68% 0.181 320.8)
XYZxyz(12.6300, 6.5387, 24.2589)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A89 #2B891A
analogous
#411A89 #781A89 #891A63
triadic
#781A89 #89781A #1A8978
tetradic
#781A89 #89411A #2B891A #1A6389
square
#781A89 #89411A #2B891A #1A6389
split-complementary
#781A89 #63891A #1A8941
monochromatic
#1E0622 #4B1056 #781A89 #A524BC #C442DB

Accessibility & contrast

On white

9.10
#781A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#781A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A89
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A89#FFFFFF#000000##FFFFFF
##781A891.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#284C87
Tritanopia (blue-blind)
#793252
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #781a89;
/* rgb */ color: rgb(120, 26, 137);
/* oklch */ color: oklch(42.7% 0.181 320.8);
Tailwind
colors: {
  custom: {
    50: '#a363ac',
    500: '#781a89',
    950: '#000000',
  },
}
SCSS
$custom: #781a89;
$custom-light: #a363ac;
$custom-dark: #000000;
JSON
{
  "hex": "#781a89",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 290.811,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.18059,
    "h": 320.8
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#781A89
secondary
#55BC43
accent
#EB3D58
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #781A89

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

Preview Lab → · Contrast checker → · Palette generator →

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