#781C90#781C90

#781C90 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.185 H 318.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#781C90
RGBrgb(120, 28, 144)
HSLhsl(288, 67%, 34%)
HSVhsv(288, 81%, 56%)
CMYKcmyk(16.7%, 80.6%, 0%, 43.5%)
CIE-LABlab(31.43, 54.43, -43.87)
CIE-LCHlch(31.43, 69.91, 321.13°)
OKLaboklab(43.33% 0.1374 -0.1235)
OKLCHoklch(43.33% 0.185 318)
XYZxyz(13.1943, 6.8378, 27.0050)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C90 #34901C
analogous
#3E1C90 #781C90 #901C6E
triadic
#781C90 #90781C #1C9078
tetradic
#781C90 #903E1C #34901C #1C6E90
square
#781C90 #903E1C #34901C #1C6E90
split-complementary
#781C90 #6E901C #1C903E
monochromatic
#23082A #4D125D #781C90 #A326C3 #BE4ADC

Accessibility & contrast

On white

8.87
#781C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#781C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C90
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C90#FFFFFF#000000##FFFFFF
##781C901.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#214D8E
Tritanopia (blue-blind)
#773656
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #781c90;
/* rgb */ color: rgb(120, 28, 144);
/* oklch */ color: oklch(43.3% 0.185 318.0);
Tailwind
colors: {
  custom: {
    50: '#a364b1',
    500: '#781c90',
    950: '#000000',
  },
}
SCSS
$custom: #781c90;
$custom-light: #a364b1;
$custom-dark: #000000;
JSON
{
  "hex": "#781c90",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 287.586,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43325,
    "c": 0.1847,
    "h": 318
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#781C90
secondary
#62BE4A
accent
#EA3D61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781C90

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

Preview Lab → · Contrast checker → · Palette generator →

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