#78219A#78219A

#78219A is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.189 H 314.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#78219A
RGBrgb(120, 33, 154)
HSLhsl(283, 65%, 37%)
HSVhsv(283, 79%, 60%)
CMYKcmyk(22.1%, 78.6%, 0%, 39.6%)
CIE-LABlab(32.73, 54.77, -47.91)
CIE-LCHlch(32.73, 72.76, 318.82°)
OKLaboklab(44.47% 0.1314 -0.1354)
OKLCHoklch(44.47% 0.189 314.2)
XYZxyz(14.1213, 7.4144, 31.2528)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78219A #439A21
analogous
#3B219A #78219A #9A2180
triadic
#78219A #9A7821 #219A78
tetradic
#78219A #9A3B21 #439A21 #21809A
square
#78219A #9A3B21 #439A21 #21809A
split-complementary
#78219A #809A21 #219A3B
monochromatic
#290B35 #511668 #78219A #9F2CCC #B75ADC

Accessibility & contrast

On white

8.46
#78219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#78219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78219A
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78219A#FFFFFF#000000##FFFFFF
##78219A1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489D
Deuteranopia (green-blind)
#174F97
Tritanopia (blue-blind)
#753D5D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78219a;
/* rgb */ color: rgb(120, 33, 154);
/* oklch */ color: oklch(44.5% 0.189 314.2);
Tailwind
colors: {
  custom: {
    50: '#a367b8',
    500: '#78219a',
    950: '#000000',
  },
}
SCSS
$custom: #78219a;
$custom-light: #a367b8;
$custom-dark: #000000;
JSON
{
  "hex": "#78219a",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 283.14,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44467,
    "c": 0.18867,
    "h": 314.2
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#78219A
secondary
#74C057
accent
#E8406F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #78219A

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

Preview Lab → · Contrast checker → · Palette generator →

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