#78216F#78216F

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

Color values

HEX#78216F
RGBrgb(120, 33, 111)
HSLhsl(306, 57%, 30%)
HSVhsv(306, 73%, 47%)
CMYKcmyk(0%, 72.5%, 7.5%, 52.9%)
CIE-LABlab(29.98, 46.62, -25.48)
CIE-LCHlch(29.98, 53.13, 331.34°)
OKLaboklab(41.63% 0.134 -0.0699)
OKLCHoklch(41.63% 0.151 332.4)
XYZxyz(11.1589, 6.2294, 15.6505)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78216F #21782A
analogous
#562178 #78216F #782143
triadic
#78216F #6F7821 #216F78
tetradic
#78216F #785621 #21782A #214378
square
#78216F #785621 #21782A #214378
split-complementary
#78216F #437821 #217856
monochromatic
#180716 #481443 #78216F #A82E9B #CC47BF

Accessibility & contrast

On white

9.35
#78216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#78216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78216F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78216F#FFFFFF#000000##FFFFFF
##78216F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#7D2A45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78216f;
/* rgb */ color: rgb(120, 33, 111);
/* oklch */ color: oklch(41.6% 0.151 332.4);
Tailwind
colors: {
  custom: {
    50: '#a26598',
    500: '#78216f',
    950: '#000000',
  },
}
SCSS
$custom: #78216f;
$custom-light: #a26598;
$custom-dark: #000000;
JSON
{
  "hex": "#78216f",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 306.207,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.41628,
    "c": 0.15114,
    "h": 332.4
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#78216F
secondary
#4AAB54
accent
#E05748
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #78216F

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

Preview Lab → · Contrast checker → · Palette generator →

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