#78146C#78146C

#78146C is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.163 H 333.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#78146C
RGBrgb(120, 20, 108)
HSLhsl(307, 71%, 27%)
HSVhsv(307, 83%, 47%)
CMYKcmyk(0%, 83.3%, 10%, 52.9%)
CIE-LABlab(28.32, 50.42, -26.18)
CIE-LCHlch(28.32, 56.81, 332.56°)
OKLaboklab(40.38% 0.1464 -0.0719)
OKLCHoklch(40.38% 0.163 333.8)
XYZxyz(10.7028, 5.5771, 14.6973)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78146C #147820
analogous
#521478 #78146C #78143A
triadic
#78146C #6C7814 #146C78
tetradic
#78146C #785214 #147820 #143A78
square
#78146C #785214 #147820 #143A78
split-complementary
#78146C #3A7814 #147852
monochromatic
#1A0418 #440B3D #78146C #AC1D9B #DC2BC6

Accessibility & contrast

On white

9.93
#78146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78146C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78146C#FFFFFF#000000##FFFFFF
##78146C1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103A6E
Deuteranopia (green-blind)
#39486A
Tritanopia (blue-blind)
#7E1F40
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #78146c;
/* rgb */ color: rgb(120, 20, 108);
/* oklch */ color: oklch(40.4% 0.163 333.8);
Tailwind
colors: {
  custom: {
    50: '#a26096',
    500: '#78146c',
    950: '#000000',
  },
}
SCSS
$custom: #78146c;
$custom-light: #a26096;
$custom-dark: #000000;
JSON
{
  "hex": "#78146c",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 307.2,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.16304,
    "h": 333.8
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#78146C
secondary
#3AAE48
accent
#EE4F3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #78146C

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

Preview Lab → · Contrast checker → · Palette generator →

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