#782196#782196

#782196 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.185 H 315.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#782196
RGBrgb(120, 33, 150)
HSLhsl(285, 64%, 36%)
HSVhsv(285, 78%, 59%)
CMYKcmyk(20%, 78%, 0%, 41.2%)
CIE-LABlab(32.44, 53.95, -45.93)
CIE-LCHlch(32.44, 70.85, 319.59°)
OKLaboklab(44.17% 0.1321 -0.1296)
OKLCHoklch(44.17% 0.185 315.6)
XYZxyz(13.7937, 7.2833, 29.5275)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782196 #3F9621
analogous
#3D2196 #782196 #962179
triadic
#782196 #967821 #219678
tetradic
#782196 #963D21 #3F9621 #217996
square
#782196 #963D21 #3F9621 #217996
split-complementary
#782196 #799621 #21963D
monochromatic
#280B32 #501664 #782196 #A02CC8 #B957DA

Accessibility & contrast

On white

8.55
#782196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#782196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782196
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782196#FFFFFF#000000##FFFFFF
##7821961.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782196;
/* rgb */ color: rgb(120, 33, 150);
/* oklch */ color: oklch(44.2% 0.185 315.6);
Tailwind
colors: {
  custom: {
    50: '#a367b6',
    500: '#782196',
    950: '#000000',
  },
}
SCSS
$custom: #782196;
$custom-light: #a367b6;
$custom-dark: #000000;
JSON
{
  "hex": "#782196",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 284.615,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44172,
    "c": 0.18504,
    "h": 315.6
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#782196
secondary
#70BE55
accent
#E7416B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782196

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

Preview Lab → · Contrast checker → · Palette generator →

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