#781E80#781E80

#781E80 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.169 H 324.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#781E80
RGBrgb(120, 30, 128)
HSLhsl(295, 62%, 31%)
HSVhsv(295, 77%, 50%)
CMYKcmyk(6.3%, 76.6%, 0%, 49.8%)
CIE-LABlab(30.59, 50.73, -35.27)
CIE-LCHlch(30.59, 61.79, 325.19°)
OKLaboklab(42.39% 0.1373 -0.0983)
OKLCHoklch(42.39% 0.169 324.4)
XYZxyz(12.1060, 6.4809, 21.0312)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E80 #26801E
analogous
#471E80 #781E80 #801E57
triadic
#781E80 #80781E #1E8078
tetradic
#781E80 #80471E #26801E #1E5780
square
#781E80 #80471E #26801E #1E5780
split-complementary
#781E80 #57801E #1E8047
monochromatic
#1B071D #4A124E #781E80 #A62AB2 #C845D3

Accessibility & contrast

On white

9.15
#781E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#781E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E80
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E80#FFFFFF#000000##FFFFFF
##781E801.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#314C7E
Tritanopia (blue-blind)
#7A304E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #781e80;
/* rgb */ color: rgb(120, 30, 128);
/* oklch */ color: oklch(42.4% 0.169 324.4);
Tailwind
colors: {
  custom: {
    50: '#a264a5',
    500: '#781e80',
    950: '#000000',
  },
}
SCSS
$custom: #781e80;
$custom-light: #a264a5;
$custom-dark: #000000;
JSON
{
  "hex": "#781e80",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 295.102,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42388,
    "c": 0.16887,
    "h": 324.4
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#781E80
secondary
#50B347
accent
#E54350
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #781E80

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

Preview Lab → · Contrast checker → · Palette generator →

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