#781E95#781E95

#781E95 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.187 H 316.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#781E95
RGBrgb(120, 30, 149)
HSLhsl(285, 66%, 35%)
HSVhsv(285, 80%, 58%)
CMYKcmyk(19.5%, 79.9%, 0%, 41.6%)
CIE-LABlab(32.02, 54.77, -46.01)
CIE-LCHlch(32.02, 71.53, 319.97°)
OKLaboklab(43.85% 0.1349 -0.1298)
OKLCHoklch(43.85% 0.187 316.1)
XYZxyz(13.6340, 7.0921, 29.0787)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E95 #3B951E
analogous
#3C1E95 #781E95 #951E76
triadic
#781E95 #95781E #1E9578
tetradic
#781E95 #953C1E #3B951E #1E7695
square
#781E95 #953C1E #3B951E #1E7695
split-complementary
#781E95 #76951E #1E953C
monochromatic
#26092F #4F1462 #781E95 #A128C8 #BA51DC

Accessibility & contrast

On white

8.68
#781E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#781E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E95
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E95#FFFFFF#000000##FFFFFF
##781E951.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#1C4E92
Tritanopia (blue-blind)
#763A5A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #781e95;
/* rgb */ color: rgb(120, 30, 149);
/* oklch */ color: oklch(43.8% 0.187 316.1);
Tailwind
colors: {
  custom: {
    50: '#a365b5',
    500: '#781e95',
    950: '#000000',
  },
}
SCSS
$custom: #781e95;
$custom-light: #a365b5;
$custom-dark: #000000;
JSON
{
  "hex": "#781e95",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 285.378,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.18716,
    "h": 316.1
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

primary
#781E95
secondary
#6BBF50
accent
#E93E68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781E95

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

Preview Lab → · Contrast checker → · Palette generator →

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