#781A96#781A96

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

Color values

HEX#781A96
RGBrgb(120, 26, 150)
HSLhsl(285, 70%, 35%)
HSVhsv(285, 83%, 59%)
CMYKcmyk(20%, 82.7%, 0%, 41.2%)
CIE-LABlab(31.66, 56.22, -47.20)
CIE-LCHlch(31.66, 73.41, 319.99°)
OKLaboklab(43.62% 0.1379 -0.1332)
OKLCHoklch(43.62% 0.192 316)
XYZxyz(13.6193, 6.9344, 29.4693)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A96 #38961A
analogous
#3A1A96 #781A96 #961A76
triadic
#781A96 #96781A #1A9678
tetradic
#781A96 #963A1A #38961A #1A7696
square
#781A96 #963A1A #38961A #1A7696
split-complementary
#781A96 #76961A #1A963A
monochromatic
#25082E #4E1162 #781A96 #A223CA #BC4BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781A96#FFFFFF#000000##FFFFFF
##781A961.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)
#004599
Deuteranopia (green-blind)
#174D93
Tritanopia (blue-blind)
#763859
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #781a96;
/* rgb */ color: rgb(120, 26, 150);
/* oklch */ color: oklch(43.6% 0.192 316.0);
Tailwind
colors: {
  custom: {
    50: '#a364b6',
    500: '#781a96',
    950: '#000000',
  },
}
SCSS
$custom: #781a96;
$custom-light: #a364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#781a96",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 285.484,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.19172,
    "h": 316
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#781A96
secondary
#67C24A
accent
#ED3B66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781A96

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

Preview Lab → · Contrast checker → · Palette generator →

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