#78219F#78219F

#78219F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.193 H 312.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#78219F
RGBrgb(120, 33, 159)
HSLhsl(281, 66%, 38%)
HSVhsv(281, 79%, 62%)
CMYKcmyk(24.5%, 79.2%, 0%, 37.6%)
CIE-LABlab(33.10, 55.80, -50.35)
CIE-LCHlch(33.10, 75.16, 317.94°)
OKLaboklab(44.84% 0.1305 -0.1425)
OKLCHoklch(44.84% 0.193 312.5)
XYZxyz(14.5464, 7.5844, 33.4918)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78219F #489F21
analogous
#39219F #78219F #9F2187
triadic
#78219F #9F7821 #219F78
tetradic
#78219F #9F3921 #489F21 #21879F
square
#78219F #9F3921 #489F21 #21879F
split-complementary
#78219F #879F21 #219F39
monochromatic
#2C0C3A #52166C #78219F #9E2CD2 #B65DDD

Accessibility & contrast

On white

8.34
#78219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#78219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78219F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78219F#FFFFFF#000000##FFFFFF
##78219F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#0A509C
Tritanopia (blue-blind)
#734060
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78219f;
/* rgb */ color: rgb(120, 33, 159);
/* oklch */ color: oklch(44.8% 0.193 312.5);
Tailwind
colors: {
  custom: {
    50: '#a367bc',
    500: '#78219f',
    950: '#000000',
  },
}
SCSS
$custom: #78219f;
$custom-light: #a367bc;
$custom-dark: #000000;
JSON
{
  "hex": "#78219f",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 281.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44843,
    "c": 0.19323,
    "h": 312.5
  },
  "luminance": 0.07584
}

Semantic roles & 50–950 ramp

primary
#78219F
secondary
#7AC25A
accent
#E93F74
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78219F

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

Preview Lab → · Contrast checker → · Palette generator →

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