#781C93#781C93

#781C93 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.187 H 316.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#781C93
RGBrgb(120, 28, 147)
HSLhsl(286, 68%, 34%)
HSVhsv(286, 81%, 58%)
CMYKcmyk(18.4%, 81%, 0%, 42.4%)
CIE-LABlab(31.65, 55.02, -45.38)
CIE-LCHlch(31.65, 71.32, 320.49°)
OKLaboklab(43.54% 0.1369 -0.1279)
OKLCHoklch(43.54% 0.187 316.9)
XYZxyz(13.4267, 6.9307, 28.2286)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C93 #37931C
analogous
#3D1C93 #781C93 #931C73
triadic
#781C93 #93781C #1C9378
tetradic
#781C93 #933D1C #37931C #1C7393
square
#781C93 #933D1C #37931C #1C7393
split-complementary
#781C93 #73931C #1C933D
monochromatic
#24082C #4E1260 #781C93 #A226C6 #BC4CDD

Accessibility & contrast

On white

8.80
#781C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#781C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C93
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C93#FFFFFF#000000##FFFFFF
##781C931.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781c93;
/* rgb */ color: rgb(120, 28, 147);
/* oklch */ color: oklch(43.5% 0.187 316.9);
Tailwind
colors: {
  custom: {
    50: '#a365b3',
    500: '#781c93',
    950: '#000000',
  },
}
SCSS
$custom: #781c93;
$custom-light: #a365b3;
$custom-dark: #000000;
JSON
{
  "hex": "#781c93",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 286.387,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43544,
    "c": 0.18731,
    "h": 316.9
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#781C93
secondary
#66BF4C
accent
#EB3D64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781C93

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

Preview Lab → · Contrast checker → · Palette generator →

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