#781B86#781B86

#781B86 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.5% C 0.177 H 322.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#781B86
RGBrgb(120, 27, 134)
HSLhsl(292, 66%, 32%)
HSVhsv(292, 80%, 53%)
CMYKcmyk(10.4%, 79.9%, 0%, 47.5%)
CIE-LABlab(30.64, 52.84, -38.96)
CIE-LCHlch(30.64, 65.65, 323.60°)
OKLaboklab(42.54% 0.1395 -0.1091)
OKLCHoklch(42.54% 0.177 322)
XYZxyz(12.4403, 6.4989, 23.1488)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B86 #29861B
analogous
#431B86 #781B86 #861B5F
triadic
#781B86 #86781B #1B8678
tetradic
#781B86 #86431B #29861B #1B5F86
square
#781B86 #86431B #29861B #1B5F86
split-complementary
#781B86 #5F861B #1B8643
monochromatic
#1D0620 #4A1153 #781B86 #A625B9 #C542D9

Accessibility & contrast

On white

9.13
#781B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#781B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B86
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B86#FFFFFF#000000##FFFFFF
##781B861.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#2B4B84
Tritanopia (blue-blind)
#793150
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #781b86;
/* rgb */ color: rgb(120, 27, 134);
/* oklch */ color: oklch(42.5% 0.177 322.0);
Tailwind
colors: {
  custom: {
    50: '#a364aa',
    500: '#781b86',
    950: '#000000',
  },
}
SCSS
$custom: #781b86;
$custom-light: #a364aa;
$custom-dark: #000000;
JSON
{
  "hex": "#781b86",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 292.15,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42544,
    "c": 0.17709,
    "h": 322
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#781B86
secondary
#53B944
accent
#E93E55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #781B86

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

Preview Lab → · Contrast checker → · Palette generator →

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