#78147F#78147F

#78147F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.6% C 0.178 H 325.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#78147F
RGBrgb(120, 20, 127)
HSLhsl(296, 73%, 29%)
HSVhsv(296, 84%, 50%)
CMYKcmyk(5.5%, 84.3%, 0%, 50.2%)
CIE-LABlab(29.48, 53.59, -36.43)
CIE-LCHlch(29.48, 64.80, 325.79°)
OKLaboklab(41.58% 0.1457 -0.1016)
OKLCHoklch(41.58% 0.178 325.1)
XYZxyz(11.8264, 6.0265, 20.6149)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78147F #1B7F14
analogous
#43147F #78147F #7F1451
triadic
#78147F #7F7814 #147F78
tetradic
#78147F #7F4314 #1B7F14 #14517F
square
#78147F #7F4314 #1B7F14 #14517F
split-complementary
#78147F #517F14 #147F43
monochromatic
#19041A #460C4A #78147F #AA1CB4 #D32FDE

Accessibility & contrast

On white

9.52
#78147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#78147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78147F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78147F#FFFFFF#000000##FFFFFF
##78147F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#7B2A4B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #78147f;
/* rgb */ color: rgb(120, 20, 127);
/* oklch */ color: oklch(41.6% 0.178 325.1);
Tailwind
colors: {
  custom: {
    50: '#a361a5',
    500: '#78147f',
    950: '#000000',
  },
}
SCSS
$custom: #78147f;
$custom-light: #a361a5;
$custom-dark: #000000;
JSON
{
  "hex": "#78147f",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 296.075,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.17767,
    "h": 325.1
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#78147F
secondary
#43B43B
accent
#EF3844
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #78147F

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

Preview Lab → · Contrast checker → · Palette generator →

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