#781E91#781E91

#781E91 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.184 H 317.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#781E91
RGBrgb(120, 30, 145)
HSLhsl(287, 66%, 34%)
HSVhsv(287, 79%, 57%)
CMYKcmyk(17.2%, 79.3%, 0%, 43.1%)
CIE-LABlab(31.73, 53.98, -44.01)
CIE-LCHlch(31.73, 69.65, 320.81°)
OKLaboklab(43.56% 0.1355 -0.1239)
OKLCHoklch(43.56% 0.184 317.6)
XYZxyz(13.3201, 6.9665, 27.4256)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E91 #37911E
analogous
#3F1E91 #781E91 #911E70
triadic
#781E91 #91781E #1E9178
tetradic
#781E91 #913F1E #37911E #1E7091
square
#781E91 #913F1E #37911E #1E7091
split-complementary
#781E91 #70911E #1E913F
monochromatic
#24092C #4E145E #781E91 #A228C4 #BC4FDB

Accessibility & contrast

On white

8.77
#781E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E91
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E91#FFFFFF#000000##FFFFFF
##781E911.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#224D8F
Tritanopia (blue-blind)
#773857
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #781e91;
/* rgb */ color: rgb(120, 30, 145);
/* oklch */ color: oklch(43.6% 0.184 317.6);
Tailwind
colors: {
  custom: {
    50: '#a365b2',
    500: '#781e91',
    950: '#000000',
  },
}
SCSS
$custom: #781e91;
$custom-light: #a365b2;
$custom-dark: #000000;
JSON
{
  "hex": "#781e91",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 286.957,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43556,
    "c": 0.18362,
    "h": 317.6
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#781E91
secondary
#66BD4D
accent
#E93F64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781E91

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

Preview Lab → · Contrast checker → · Palette generator →

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