#781E99#781E99

#781E99 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.191 H 314.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#781E99
RGBrgb(120, 30, 153)
HSLhsl(284, 67%, 36%)
HSVhsv(284, 80%, 60%)
CMYKcmyk(21.6%, 80.4%, 0%, 40%)
CIE-LABlab(32.31, 55.58, -47.99)
CIE-LCHlch(32.31, 73.43, 319.19°)
OKLaboklab(44.15% 0.1341 -0.1356)
OKLCHoklch(44.15% 0.191 314.7)
XYZxyz(13.9588, 7.2220, 30.7895)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E99 #3F991E
analogous
#3A1E99 #781E99 #991E7C
triadic
#781E99 #99781E #1E9978
tetradic
#781E99 #993A1E #3F991E #1E7C99
square
#781E99 #993A1E #3F991E #1E7C99
split-complementary
#781E99 #7C991E #1E993A
monochromatic
#280A33 #501466 #781E99 #A028CC #B954DD

Accessibility & contrast

On white

8.59
#781E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#781E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E99
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E99#FFFFFF#000000##FFFFFF
##781E991.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#154E96
Tritanopia (blue-blind)
#753B5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #781e99;
/* rgb */ color: rgb(120, 30, 153);
/* oklch */ color: oklch(44.1% 0.191 314.7);
Tailwind
colors: {
  custom: {
    50: '#a366b8',
    500: '#781e99',
    950: '#000000',
  },
}
SCSS
$custom: #781e99;
$custom-light: #a366b8;
$custom-dark: #000000;
JSON
{
  "hex": "#781e99",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 283.902,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44145,
    "c": 0.19071,
    "h": 314.7
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#781E99
secondary
#70C152
accent
#EA3E6C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781E99

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

Preview Lab → · Contrast checker → · Palette generator →

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