#781D93#781D93

#781D93 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.186 H 316.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#781D93
RGBrgb(120, 29, 147)
HSLhsl(286, 67%, 35%)
HSVhsv(286, 80%, 58%)
CMYKcmyk(18.4%, 80.3%, 0%, 42.4%)
CIE-LABlab(31.76, 54.70, -45.20)
CIE-LCHlch(31.76, 70.96, 320.43°)
OKLaboklab(43.62% 0.136 -0.1274)
OKLCHoklch(43.62% 0.186 316.9)
XYZxyz(13.4508, 6.9790, 28.2367)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D93 #38931D
analogous
#3D1D93 #781D93 #931D73
triadic
#781D93 #93781D #1D9378
tetradic
#781D93 #933D1D #38931D #1D7393
square
#781D93 #933D1D #38931D #1D7393
split-complementary
#781D93 #73931D #1D933D
monochromatic
#25092D #4E1360 #781D93 #A227C6 #BC4EDC

Accessibility & contrast

On white

8.77
#781D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#781D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D93
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D93#FFFFFF#000000##FFFFFF
##781D931.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#1E4D90
Tritanopia (blue-blind)
#763858
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #781d93;
/* rgb */ color: rgb(120, 29, 147);
/* oklch */ color: oklch(43.6% 0.186 316.9);
Tailwind
colors: {
  custom: {
    50: '#a365b3',
    500: '#781d93',
    950: '#000000',
  },
}
SCSS
$custom: #781d93;
$custom-light: #a365b3;
$custom-dark: #000000;
JSON
{
  "hex": "#781d93",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 286.271,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43621,
    "c": 0.18636,
    "h": 316.9
  },
  "luminance": 0.06978
}

Semantic roles & 50–950 ramp

primary
#781D93
secondary
#67BF4D
accent
#EA3E65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781D93

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

Preview Lab → · Contrast checker → · Palette generator →

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