#781E90#781E90

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

Color values

HEX#781E90
RGBrgb(120, 30, 144)
HSLhsl(287, 66%, 34%)
HSVhsv(287, 79%, 56%)
CMYKcmyk(16.7%, 79.2%, 0%, 43.5%)
CIE-LABlab(31.66, 53.78, -43.51)
CIE-LCHlch(31.66, 69.18, 321.03°)
OKLaboklab(43.48% 0.1357 -0.1224)
OKLCHoklch(43.48% 0.183 317.9)
XYZxyz(13.2433, 6.9358, 27.0213)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E90 #36901E
analogous
#3F1E90 #781E90 #901E6F
triadic
#781E90 #90781E #1E9078
tetradic
#781E90 #903F1E #36901E #1E6F90
square
#781E90 #903F1E #36901E #1E6F90
split-complementary
#781E90 #6F901E #1E903F
monochromatic
#24092B #4E135D #781E90 #A229C3 #BD4EDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781E90#FFFFFF#000000##FFFFFF
##781E901.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)
#004593
Deuteranopia (green-blind)
#234D8E
Tritanopia (blue-blind)
#773757
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #781e90;
/* rgb */ color: rgb(120, 30, 144);
/* oklch */ color: oklch(43.5% 0.183 317.9);
Tailwind
colors: {
  custom: {
    50: '#a365b1',
    500: '#781e90',
    950: '#000000',
  },
}
SCSS
$custom: #781e90;
$custom-light: #a365b1;
$custom-dark: #000000;
JSON
{
  "hex": "#781e90",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 287.368,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.18274,
    "h": 317.9
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#781E90
secondary
#64BD4D
accent
#E83F63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781E90

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

Preview Lab → · Contrast checker → · Palette generator →

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