#781E93#781E93

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

Color values

HEX#781E93
RGBrgb(120, 30, 147)
HSLhsl(286, 66%, 35%)
HSVhsv(286, 80%, 58%)
CMYKcmyk(18.4%, 79.6%, 0%, 42.4%)
CIE-LABlab(31.87, 54.37, -45.01)
CIE-LCHlch(31.87, 70.59, 320.38°)
OKLaboklab(43.7% 0.1352 -0.1268)
OKLCHoklch(43.7% 0.185 316.8)
XYZxyz(13.4757, 7.0288, 28.2450)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E93 #39931E
analogous
#3E1E93 #781E93 #931E74
triadic
#781E93 #93781E #1E9378
tetradic
#781E93 #933E1E #39931E #1E7493
square
#781E93 #933E1E #39931E #1E7493
split-complementary
#781E93 #74931E #1E933E
monochromatic
#25092D #4F1460 #781E93 #A128C6 #BB50DB

Accessibility & contrast

On white

8.73
#781E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E93
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E93#FFFFFF#000000##FFFFFF
##781E931.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#1F4D91
Tritanopia (blue-blind)
#763958
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #781e93;
/* rgb */ color: rgb(120, 30, 147);
/* oklch */ color: oklch(43.7% 0.185 316.8);
Tailwind
colors: {
  custom: {
    50: '#a365b3',
    500: '#781e93',
    950: '#000000',
  },
}
SCSS
$custom: #781e93;
$custom-light: #a365b3;
$custom-dark: #000000;
JSON
{
  "hex": "#781e93",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 147
  },
  "hsl": {
    "h": 286.154,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43701,
    "c": 0.18538,
    "h": 316.8
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#781E93
secondary
#68BE4F
accent
#E93F66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781E93

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

Preview Lab → · Contrast checker → · Palette generator →

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