#781D94#781D94

#781D94 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.187 H 316.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#781D94
RGBrgb(120, 29, 148)
HSLhsl(286, 67%, 35%)
HSVhsv(286, 80%, 58%)
CMYKcmyk(18.9%, 80.4%, 0%, 42%)
CIE-LABlab(31.83, 54.90, -45.70)
CIE-LCHlch(31.83, 71.43, 320.23°)
OKLaboklab(43.7% 0.1359 -0.1288)
OKLCHoklch(43.7% 0.187 316.5)
XYZxyz(13.5296, 7.0105, 28.6517)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D94 #39941D
analogous
#3C1D94 #781D94 #941D75
triadic
#781D94 #94781D #1D9478
tetradic
#781D94 #943C1D #39941D #1D7594
square
#781D94 #943C1D #39941D #1D7594
split-complementary
#781D94 #75941D #1D943C
monochromatic
#25092E #4F1361 #781D94 #A127C7 #BB4FDC

Accessibility & contrast

On white

8.74
#781D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781D94
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D94#FFFFFF#000000##FFFFFF
##781D941.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#1D4D91
Tritanopia (blue-blind)
#763959
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #781d94;
/* rgb */ color: rgb(120, 29, 148);
/* oklch */ color: oklch(43.7% 0.187 316.5);
Tailwind
colors: {
  custom: {
    50: '#a365b4',
    500: '#781d94',
    950: '#000000',
  },
}
SCSS
$custom: #781d94;
$custom-light: #a365b4;
$custom-dark: #000000;
JSON
{
  "hex": "#781d94",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 285.882,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43695,
    "c": 0.18724,
    "h": 316.5
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#781D94
secondary
#68BF4E
accent
#EA3E66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781D94

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

Preview Lab → · Contrast checker → · Palette generator →

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