#78219E#78219E

#78219E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.8% C 0.192 H 312.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#78219E
RGBrgb(120, 33, 158)
HSLhsl(282, 65%, 37%)
HSVhsv(282, 79%, 62%)
CMYKcmyk(24.1%, 79.1%, 0%, 38%)
CIE-LABlab(33.03, 55.60, -49.86)
CIE-LCHlch(33.03, 74.68, 318.11°)
OKLaboklab(44.77% 0.1307 -0.1411)
OKLCHoklch(44.77% 0.192 312.8)
XYZxyz(14.4600, 7.5498, 33.0367)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78219E #479E21
analogous
#3A219E #78219E #9E2186
triadic
#78219E #9E7821 #219E78
tetradic
#78219E #9E3A21 #479E21 #21869E
square
#78219E #9E3A21 #479E21 #21869E
split-complementary
#78219E #869E21 #219E3A
monochromatic
#2B0C39 #52166B #78219E #9E2CD1 #B65CDD

Accessibility & contrast

On white

8.37
#78219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#78219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78219E
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78219E#FFFFFF#000000##FFFFFF
##78219E1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#0D4F9B
Tritanopia (blue-blind)
#743F5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78219e;
/* rgb */ color: rgb(120, 33, 158);
/* oklch */ color: oklch(44.8% 0.192 312.8);
Tailwind
colors: {
  custom: {
    50: '#a367bb',
    500: '#78219e',
    950: '#000000',
  },
}
SCSS
$custom: #78219e;
$custom-light: #a367bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78219e",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 281.76,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.19231,
    "h": 312.8
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#78219E
secondary
#79C159
accent
#E83F73
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78219E

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

Preview Lab → · Contrast checker → · Palette generator →

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