#782096#782096

#782096 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.186 H 315.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#782096
RGBrgb(120, 32, 150)
HSLhsl(285, 65%, 36%)
HSVhsv(285, 79%, 59%)
CMYKcmyk(20%, 78.7%, 0%, 41.2%)
CIE-LABlab(32.32, 54.30, -46.13)
CIE-LCHlch(32.32, 71.25, 319.65°)
OKLaboklab(44.09% 0.133 -0.1301)
OKLCHoklch(44.09% 0.186 315.6)
XYZxyz(13.7664, 7.2286, 29.5184)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782096 #3E9620
analogous
#3D2096 #782096 #962079
triadic
#782096 #967820 #209678
tetradic
#782096 #963D20 #3E9620 #207996
square
#782096 #963D20 #3E9620 #207996
split-complementary
#782096 #799620 #20963D
monochromatic
#270A31 #501564 #782096 #A02BC8 #B956DB

Accessibility & contrast

On white

8.59
#782096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#782096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782096
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782096#FFFFFF#000000##FFFFFF
##7820961.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#1C4E93
Tritanopia (blue-blind)
#763B5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782096;
/* rgb */ color: rgb(120, 32, 150);
/* oklch */ color: oklch(44.1% 0.186 315.6);
Tailwind
colors: {
  custom: {
    50: '#a366b6',
    500: '#782096',
    950: '#000000',
  },
}
SCSS
$custom: #782096;
$custom-light: #a366b6;
$custom-dark: #000000;
JSON
{
  "hex": "#782096",
  "rgb": {
    "r": 120,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 284.746,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44086,
    "c": 0.18606,
    "h": 315.6
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#782096
secondary
#6FBE53
accent
#E8406B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782096

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

Preview Lab → · Contrast checker → · Palette generator →

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