#78219B#78219B

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

Color values

HEX#78219B
RGBrgb(120, 33, 155)
HSLhsl(283, 65%, 37%)
HSVhsv(283, 79%, 61%)
CMYKcmyk(22.6%, 78.7%, 0%, 39.2%)
CIE-LABlab(32.81, 54.97, -48.40)
CIE-LCHlch(32.81, 73.24, 318.64°)
OKLaboklab(44.54% 0.1313 -0.1368)
OKLCHoklch(44.54% 0.19 313.8)
XYZxyz(14.2050, 7.4478, 31.6933)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78219B #449B21
analogous
#3B219B #78219B #9B2181
triadic
#78219B #9B7821 #219B78
tetradic
#78219B #9B3B21 #449B21 #21819B
square
#78219B #9B3B21 #449B21 #21819B
split-complementary
#78219B #819B21 #219B3B
monochromatic
#2A0C36 #511669 #78219B #9F2CCD #B75ADC

Accessibility & contrast

On white

8.44
#78219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#78219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78219B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78219B#FFFFFF#000000##FFFFFF
##78219B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#154F98
Tritanopia (blue-blind)
#743E5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #78219b;
/* rgb */ color: rgb(120, 33, 155);
/* oklch */ color: oklch(44.5% 0.190 313.8);
Tailwind
colors: {
  custom: {
    50: '#a367b9',
    500: '#78219b',
    950: '#000000',
  },
}
SCSS
$custom: #78219b;
$custom-light: #a367b9;
$custom-dark: #000000;
JSON
{
  "hex": "#78219b",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 282.787,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44541,
    "c": 0.18958,
    "h": 313.8
  },
  "luminance": 0.07447
}

Semantic roles & 50–950 ramp

primary
#78219B
secondary
#76C058
accent
#E84070
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78219B

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

Preview Lab → · Contrast checker → · Palette generator →

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