#781A93#781A93

#781A93 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.4% C 0.189 H 317.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#781A93
RGBrgb(120, 26, 147)
HSLhsl(287, 70%, 34%)
HSVhsv(287, 82%, 58%)
CMYKcmyk(18.4%, 82.3%, 0%, 42.4%)
CIE-LABlab(31.44, 55.63, -45.72)
CIE-LCHlch(31.44, 72.01, 320.59°)
OKLaboklab(43.4% 0.1384 -0.1289)
OKLCHoklch(43.4% 0.189 317)
XYZxyz(13.3808, 6.8390, 28.2133)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A93 #35931A
analogous
#3C1A93 #781A93 #931A72
triadic
#781A93 #93781A #1A9378
tetradic
#781A93 #933C1A #35931A #1A7293
square
#781A93 #933C1A #35931A #1A7293
split-complementary
#781A93 #72931A #1A933C
monochromatic
#23082B #4E115F #781A93 #A223C7 #BD49DF

Accessibility & contrast

On white

8.87
#781A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#781A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A93
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A93#FFFFFF#000000##FFFFFF
##781A931.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#1C4D90
Tritanopia (blue-blind)
#773758
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #781a93;
/* rgb */ color: rgb(120, 26, 147);
/* oklch */ color: oklch(43.4% 0.189 317.0);
Tailwind
colors: {
  custom: {
    50: '#a364b3',
    500: '#781a93',
    950: '#000000',
  },
}
SCSS
$custom: #781a93;
$custom-light: #a364b3;
$custom-dark: #000000;
JSON
{
  "hex": "#781a93",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 286.612,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43395,
    "c": 0.18913,
    "h": 317
  },
  "luminance": 0.06838
}

Semantic roles & 50–950 ramp

primary
#781A93
secondary
#63C048
accent
#ED3B63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781A93

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

Preview Lab → · Contrast checker → · Palette generator →

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