#78147A#78147A

#78147A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.174 H 327.3°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#78147A
RGBrgb(120, 20, 122)
HSLhsl(299, 72%, 28%)
HSVhsv(299, 84%, 48%)
CMYKcmyk(1.6%, 83.6%, 0%, 52.2%)
CIE-LABlab(29.16, 52.72, -33.79)
CIE-LCHlch(29.16, 62.62, 327.34°)
OKLaboklab(41.25% 0.1461 -0.0939)
OKLCHoklch(41.25% 0.174 327.3)
XYZxyz(11.5086, 5.8994, 18.9411)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78147A #167A14
analogous
#45147A #78147A #7A1449
triadic
#78147A #7A7814 #147A78
tetradic
#78147A #7A4514 #167A14 #14497A
square
#78147A #7A4514 #167A14 #14497A
split-complementary
#78147A #497A14 #147A45
monochromatic
#1A041A #440B45 #78147A #AC1DAF #D92CDC

Accessibility & contrast

On white

9.63
#78147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#78147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78147A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78147A#FFFFFF#000000##FFFFFF
##78147A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#7C2748
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #78147a;
/* rgb */ color: rgb(120, 20, 122);
/* oklch */ color: oklch(41.2% 0.174 327.3);
Tailwind
colors: {
  custom: {
    50: '#a360a1',
    500: '#78147a',
    950: '#000000',
  },
}
SCSS
$custom: #78147a;
$custom-light: #a360a1;
$custom-dark: #000000;
JSON
{
  "hex": "#78147a",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 298.824,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.17372,
    "h": 327.3
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#78147A
secondary
#3CB03A
accent
#EF393D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050F
muted
#7F7A7E

Preview Lab

Preview with #78147A

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

Preview Lab → · Contrast checker → · Palette generator →

#78147A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva