#782193#782193

#782193 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.182 H 316.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#782193
RGBrgb(120, 33, 147)
HSLhsl(286, 63%, 35%)
HSVhsv(286, 78%, 58%)
CMYKcmyk(18.4%, 77.6%, 0%, 42.4%)
CIE-LABlab(32.23, 53.34, -44.44)
CIE-LCHlch(32.23, 69.42, 320.20°)
OKLaboklab(43.95% 0.1326 -0.1252)
OKLCHoklch(43.95% 0.182 316.6)
XYZxyz(13.5552, 7.1879, 28.2715)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782193 #3C9321
analogous
#3F2193 #782193 #932175
triadic
#782193 #937821 #219378
tetradic
#782193 #933F21 #3C9321 #217593
square
#782193 #933F21 #3C9321 #217593
split-complementary
#782193 #759321 #21933F
monochromatic
#260B2F #4F1661 #782193 #A12CC5 #BA55D9

Accessibility & contrast

On white

8.62
#782193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#782193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782193
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782193#FFFFFF#000000##FFFFFF
##7821931.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#214E91
Tritanopia (blue-blind)
#763A59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782193;
/* rgb */ color: rgb(120, 33, 147);
/* oklch */ color: oklch(44.0% 0.182 316.6);
Tailwind
colors: {
  custom: {
    50: '#a367b3',
    500: '#782193',
    950: '#000000',
  },
}
SCSS
$custom: #782193;
$custom-light: #a367b3;
$custom-dark: #000000;
JSON
{
  "hex": "#782193",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 285.789,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43954,
    "c": 0.18231,
    "h": 316.6
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#782193
secondary
#6CBD53
accent
#E64168
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782193

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

Preview Lab → · Contrast checker → · Palette generator →

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