#78146E#78146E

#78146E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.165 H 332.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#78146E
RGBrgb(120, 20, 110)
HSLhsl(306, 71%, 27%)
HSVhsv(306, 83%, 47%)
CMYKcmyk(0%, 83.3%, 8.3%, 52.9%)
CIE-LABlab(28.43, 50.73, -27.29)
CIE-LCHlch(28.43, 57.61, 331.72°)
OKLaboklab(40.5% 0.1464 -0.075)
OKLCHoklch(40.5% 0.165 332.9)
XYZxyz(10.8104, 5.6201, 15.2643)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78146E #14781E
analogous
#501478 #78146E #78143C
triadic
#78146E #6E7814 #146E78
tetradic
#78146E #785014 #14781E #143C78
square
#78146E #785014 #14781E #143C78
split-complementary
#78146E #3C7814 #147850
monochromatic
#1A0418 #440B3E #78146E #AC1D9E #DC2BCA

Accessibility & contrast

On white

9.89
#78146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#78146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78146E
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78146E#FFFFFF#000000##FFFFFF
##78146E1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3A70
Deuteranopia (green-blind)
#38486C
Tritanopia (blue-blind)
#7E2041
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #78146e;
/* rgb */ color: rgb(120, 20, 110);
/* oklch */ color: oklch(40.5% 0.165 332.9);
Tailwind
colors: {
  custom: {
    50: '#a26098',
    500: '#78146e',
    950: '#000000',
  },
}
SCSS
$custom: #78146e;
$custom-light: #a26098;
$custom-dark: #000000;
JSON
{
  "hex": "#78146e",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 306,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.16452,
    "h": 332.9
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#78146E
secondary
#3AAE46
accent
#EE4C3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #78146E

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

Preview Lab → · Contrast checker → · Palette generator →

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