#78216E#78216E

#78216E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.150 H 333.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#78216E
RGBrgb(120, 33, 110)
HSLhsl(307, 57%, 30%)
HSVhsv(307, 73%, 47%)
CMYKcmyk(0%, 72.5%, 8.3%, 52.9%)
CIE-LABlab(29.93, 46.45, -24.93)
CIE-LCHlch(29.93, 52.72, 331.78°)
OKLaboklab(41.57% 0.1339 -0.0683)
OKLCHoklch(41.57% 0.15 333)
XYZxyz(11.1041, 6.2075, 15.3622)
Luminance0.0621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78216E #21782B
analogous
#572178 #78216E #782142
triadic
#78216E #6E7821 #216E78
tetradic
#78216E #785721 #21782B #214278
square
#78216E #785721 #21782B #214278
split-complementary
#78216E #427821 #217857
monochromatic
#180716 #481442 #78216E #A82E9A #CC47BD

Accessibility & contrast

On white

9.37
#78216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#78216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78216E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78216E#FFFFFF#000000##FFFFFF
##78216E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3E70
Deuteranopia (green-blind)
#3D4B6C
Tritanopia (blue-blind)
#7D2945
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #78216e;
/* rgb */ color: rgb(120, 33, 110);
/* oklch */ color: oklch(41.6% 0.150 333.0);
Tailwind
colors: {
  custom: {
    50: '#a26598',
    500: '#78216e',
    950: '#000000',
  },
}
SCSS
$custom: #78216e;
$custom-light: #a26598;
$custom-dark: #000000;
JSON
{
  "hex": "#78216e",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 306.897,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.41572,
    "c": 0.15034,
    "h": 333
  },
  "luminance": 0.06207
}

Semantic roles & 50–950 ramp

primary
#78216E
secondary
#4AAB55
accent
#E05948
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78216E

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

Preview Lab → · Contrast checker → · Palette generator →

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