#78196A#78196A

#78196A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.157 H 334.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#78196A
RGBrgb(120, 25, 106)
HSLhsl(309, 66%, 28%)
HSVhsv(309, 79%, 47%)
CMYKcmyk(0%, 79.2%, 11.7%, 52.9%)
CIE-LABlab(28.72, 48.63, -24.26)
CIE-LCHlch(28.72, 54.34, 333.48°)
OKLaboklab(40.63% 0.1419 -0.0664)
OKLCHoklch(40.63% 0.157 334.9)
XYZxyz(10.6950, 5.7299, 14.1756)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78196A #197827
analogous
#561978 #78196A #78193A
triadic
#78196A #6A7819 #196A78
tetradic
#78196A #785619 #197827 #193A78
square
#78196A #785619 #197827 #193A78
split-complementary
#78196A #3A7819 #197856
monochromatic
#190516 #450E3D #78196A #AB2497 #D536BE

Accessibility & contrast

On white

9.79
#78196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#78196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78196A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78196A#FFFFFF#000000##FFFFFF
##78196A1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6C
Deuteranopia (green-blind)
#3C4968
Tritanopia (blue-blind)
#7E2140
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #78196a;
/* rgb */ color: rgb(120, 25, 106);
/* oklch */ color: oklch(40.6% 0.157 334.9);
Tailwind
colors: {
  custom: {
    50: '#a26195',
    500: '#78196a',
    950: '#000000',
  },
}
SCSS
$custom: #78196a;
$custom-light: #a26195;
$custom-dark: #000000;
JSON
{
  "hex": "#78196a",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 308.842,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40631,
    "c": 0.15665,
    "h": 334.9
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#78196A
secondary
#40AD50
accent
#E8583F
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78196A

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

Preview Lab → · Contrast checker → · Palette generator →

#78196A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva