#78147D#78147D

#78147D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.176 H 326.0°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#78147D
RGBrgb(120, 20, 125)
HSLhsl(297, 72%, 28%)
HSVhsv(297, 84%, 49%)
CMYKcmyk(4%, 84%, 0%, 51%)
CIE-LABlab(29.35, 53.24, -35.38)
CIE-LCHlch(29.35, 63.92, 326.39°)
OKLaboklab(41.44% 0.1459 -0.0986)
OKLCHoklch(41.44% 0.176 326)
XYZxyz(11.6973, 5.9749, 19.9352)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78147D #197D14
analogous
#43147D #78147D #7D144D
triadic
#78147D #7D7814 #147D78
tetradic
#78147D #7D4314 #197D14 #144D7D
square
#78147D #7D4314 #197D14 #144D7D
split-complementary
#78147D #4D7D14 #147D43
monochromatic
#19041A #450C48 #78147D #AB1CB2 #D52EDE

Accessibility & contrast

On white

9.57
#78147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#78147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78147D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78147D#FFFFFF#000000##FFFFFF
##78147D1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78147d;
/* rgb */ color: rgb(120, 20, 125);
/* oklch */ color: oklch(41.4% 0.176 326.0);
Tailwind
colors: {
  custom: {
    50: '#a361a3',
    500: '#78147d',
    950: '#000000',
  },
}
SCSS
$custom: #78147d;
$custom-light: #a361a3;
$custom-dark: #000000;
JSON
{
  "hex": "#78147d",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 297.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41443,
    "c": 0.17608,
    "h": 326
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#78147D
secondary
#40B23A
accent
#EF3941
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #78147D

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

Preview Lab → · Contrast checker → · Palette generator →

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