#781996#781996

#781996 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.5% C 0.193 H 316.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#781996
RGBrgb(120, 25, 150)
HSLhsl(286, 71%, 34%)
HSVhsv(286, 83%, 59%)
CMYKcmyk(20%, 83.3%, 0%, 41.2%)
CIE-LABlab(31.56, 56.52, -47.36)
CIE-LCHlch(31.56, 73.74, 320.03°)
OKLaboklab(43.55% 0.1386 -0.1337)
OKLCHoklch(43.55% 0.193 316)
XYZxyz(13.5975, 6.8909, 29.4621)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781996 #379619
analogous
#3A1996 #781996 #961976
triadic
#781996 #967819 #199678
tetradic
#781996 #963A19 #379619 #197696
square
#781996 #963A19 #379619 #197696
split-complementary
#781996 #769619 #19963A
monochromatic
#24082D #4E1062 #781996 #A222CA #BC49E1

Accessibility & contrast

On white

8.83
#781996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#781996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781996
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781996#FFFFFF#000000##FFFFFF
##7819961.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#164D93
Tritanopia (blue-blind)
#763859
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #781996;
/* rgb */ color: rgb(120, 25, 150);
/* oklch */ color: oklch(43.5% 0.193 316.0);
Tailwind
colors: {
  custom: {
    50: '#a364b6',
    500: '#781996',
    950: '#000000',
  },
}
SCSS
$custom: #781996;
$custom-light: #a364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#781996",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 285.6,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43549,
    "c": 0.19257,
    "h": 316
  },
  "luminance": 0.0689
}

Semantic roles & 50–950 ramp

primary
#781996
secondary
#66C249
accent
#EE3A65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #781996

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

Preview Lab → · Contrast checker → · Palette generator →

#781996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva