#781C85#781C85

#781C85 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.175 H 322.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#781C85
RGBrgb(120, 28, 133)
HSLhsl(293, 65%, 32%)
HSVhsv(293, 79%, 52%)
CMYKcmyk(9.8%, 78.9%, 0%, 47.8%)
CIE-LABlab(30.68, 52.33, -38.26)
CIE-LCHlch(30.68, 64.83, 323.83°)
OKLaboklab(42.55% 0.1388 -0.107)
OKLCHoklch(42.55% 0.175 322.4)
XYZxyz(12.3942, 6.5178, 22.7910)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C85 #29851C
analogous
#441C85 #781C85 #851C5E
triadic
#781C85 #85781C #1C8578
tetradic
#781C85 #85441C #29851C #1C5E85
square
#781C85 #85441C #29851C #1C5E85
split-complementary
#781C85 #5E851C #1C8544
monochromatic
#1D0720 #4A1152 #781C85 #A627B8 #C544D8

Accessibility & contrast

On white

9.12
#781C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C85
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C85#FFFFFF#000000##FFFFFF
##781C851.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#2C4C83
Tritanopia (blue-blind)
#7A3150
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #781c85;
/* rgb */ color: rgb(120, 28, 133);
/* oklch */ color: oklch(42.6% 0.175 322.4);
Tailwind
colors: {
  custom: {
    50: '#a364a9',
    500: '#781c85',
    950: '#000000',
  },
}
SCSS
$custom: #781c85;
$custom-light: #a364a9;
$custom-dark: #000000;
JSON
{
  "hex": "#781c85",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 292.571,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42554,
    "c": 0.17524,
    "h": 322.4
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#781C85
secondary
#53B845
accent
#E84054
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #781C85

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

Preview Lab → · Contrast checker → · Palette generator →

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