#781D86#781D86

#781D86 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.175 H 321.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#781D86
RGBrgb(120, 29, 134)
HSLhsl(292, 64%, 32%)
HSVhsv(292, 78%, 53%)
CMYKcmyk(10.4%, 78.4%, 0%, 47.5%)
CIE-LABlab(30.86, 52.19, -38.60)
CIE-LCHlch(30.86, 64.91, 323.52°)
OKLaboklab(42.7% 0.1378 -0.108)
OKLCHoklch(42.7% 0.175 321.9)
XYZxyz(12.4877, 6.5937, 23.1646)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D86 #2B861D
analogous
#441D86 #781D86 #861D60
triadic
#781D86 #86781D #1D8678
tetradic
#781D86 #86441D #2B861D #1D6086
square
#781D86 #86441D #2B861D #1D6086
split-complementary
#781D86 #60861D #1D8644
monochromatic
#1E0721 #4B1254 #781D86 #A528B8 #C446D7

Accessibility & contrast

On white

9.06
#781D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#781D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D86
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D86#FFFFFF#000000##FFFFFF
##781D861.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#2C4C84
Tritanopia (blue-blind)
#793251
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #781d86;
/* rgb */ color: rgb(120, 29, 134);
/* oklch */ color: oklch(42.7% 0.175 321.9);
Tailwind
colors: {
  custom: {
    50: '#a364aa',
    500: '#781d86',
    950: '#000000',
  },
}
SCSS
$custom: #781d86;
$custom-light: #a364aa;
$custom-dark: #000000;
JSON
{
  "hex": "#781d86",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 292,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42704,
    "c": 0.17507,
    "h": 321.9
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#781D86
secondary
#55B946
accent
#E74057
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #781D86

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

Preview Lab → · Contrast checker → · Palette generator →

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