#781E94#781E94

#781E94 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.186 H 316.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#781E94
RGBrgb(120, 30, 148)
HSLhsl(286, 66%, 35%)
HSVhsv(286, 80%, 58%)
CMYKcmyk(18.9%, 79.7%, 0%, 42%)
CIE-LABlab(31.94, 54.57, -45.51)
CIE-LCHlch(31.94, 71.06, 320.17°)
OKLaboklab(43.77% 0.135 -0.1283)
OKLCHoklch(43.77% 0.186 316.5)
XYZxyz(13.5545, 7.0603, 28.6600)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E94 #3A941E
analogous
#3D1E94 #781E94 #941E75
triadic
#781E94 #94781E #1E9478
tetradic
#781E94 #943D1E #3A941E #1E7594
square
#781E94 #943D1E #3A941E #1E7594
split-complementary
#781E94 #75941E #1E943D
monochromatic
#25092E #4F1461 #781E94 #A128C7 #BB51DC

Accessibility & contrast

On white

8.71
#781E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#781E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E94
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E94#FFFFFF#000000##FFFFFF
##781E941.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781e94;
/* rgb */ color: rgb(120, 30, 148);
/* oklch */ color: oklch(43.8% 0.186 316.5);
Tailwind
colors: {
  custom: {
    50: '#a365b4',
    500: '#781e94',
    950: '#000000',
  },
}
SCSS
$custom: #781e94;
$custom-light: #a365b4;
$custom-dark: #000000;
JSON
{
  "hex": "#781e94",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 285.763,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43774,
    "c": 0.18627,
    "h": 316.5
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#781E94
secondary
#6ABF4F
accent
#E93F67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781E94

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

Preview Lab → · Contrast checker → · Palette generator →

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