#78147E#78147E

#78147E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.177 H 325.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#78147E
RGBrgb(120, 20, 126)
HSLhsl(297, 73%, 29%)
HSVhsv(297, 84%, 49%)
CMYKcmyk(4.8%, 84.1%, 0%, 50.6%)
CIE-LABlab(29.41, 53.41, -35.91)
CIE-LCHlch(29.41, 64.36, 326.09°)
OKLaboklab(41.51% 0.1458 -0.1001)
OKLCHoklch(41.51% 0.177 325.5)
XYZxyz(11.7615, 6.0006, 20.2734)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78147E #1A7E14
analogous
#43147E #78147E #7E144F
triadic
#78147E #7E7814 #147E78
tetradic
#78147E #7E4314 #1A7E14 #144F7E
square
#78147E #7E4314 #1A7E14 #144F7E
split-complementary
#78147E #4F7E14 #147E43
monochromatic
#19041A #460C49 #78147E #AA1CB3 #D42EDE

Accessibility & contrast

On white

9.55
#78147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#78147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78147E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78147E#FFFFFF#000000##FFFFFF
##78147E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#7B294A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #78147e;
/* rgb */ color: rgb(120, 20, 126);
/* oklch */ color: oklch(41.5% 0.177 325.5);
Tailwind
colors: {
  custom: {
    50: '#a361a4',
    500: '#78147e',
    950: '#000000',
  },
}
SCSS
$custom: #78147e;
$custom-light: #a361a4;
$custom-dark: #000000;
JSON
{
  "hex": "#78147e",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 296.604,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41509,
    "c": 0.17687,
    "h": 325.5
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#78147E
secondary
#41B33A
accent
#EF3843
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #78147E

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

Preview Lab → · Contrast checker → · Palette generator →

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