#78219C#78219C

#78219C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.190 H 313.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#78219C
RGBrgb(120, 33, 156)
HSLhsl(282, 65%, 37%)
HSVhsv(282, 79%, 61%)
CMYKcmyk(23.1%, 78.8%, 0%, 38.8%)
CIE-LABlab(32.88, 55.18, -48.89)
CIE-LCHlch(32.88, 73.72, 318.46°)
OKLaboklab(44.62% 0.1311 -0.1382)
OKLCHoklch(44.62% 0.19 313.5)
XYZxyz(14.2893, 7.4815, 32.1374)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78219C #459C21
analogous
#3B219C #78219C #9C2183
triadic
#78219C #9C7821 #219C78
tetradic
#78219C #9C3B21 #459C21 #21839C
square
#78219C #9C3B21 #459C21 #21839C
split-complementary
#78219C #839C21 #219C3B
monochromatic
#2A0C37 #511669 #78219C #9F2CCF #B65BDC

Accessibility & contrast

On white

8.41
#78219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#78219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78219C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78219C#FFFFFF#000000##FFFFFF
##78219C1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#134F99
Tritanopia (blue-blind)
#743E5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78219c;
/* rgb */ color: rgb(120, 33, 156);
/* oklch */ color: oklch(44.6% 0.190 313.5);
Tailwind
colors: {
  custom: {
    50: '#a367ba',
    500: '#78219c',
    950: '#000000',
  },
}
SCSS
$custom: #78219c;
$custom-light: #a367ba;
$custom-dark: #000000;
JSON
{
  "hex": "#78219c",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 282.439,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.19049,
    "h": 313.5
  },
  "luminance": 0.07481
}

Semantic roles & 50–950 ramp

primary
#78219C
secondary
#77C158
accent
#E84071
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78219C

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

Preview Lab → · Contrast checker → · Palette generator →

#78219C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva