#78196C#78196C

#78196C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.158 H 333.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#78196C
RGBrgb(120, 25, 108)
HSLhsl(308, 66%, 28%)
HSVhsv(308, 79%, 47%)
CMYKcmyk(0%, 79.2%, 10%, 52.9%)
CIE-LABlab(28.83, 48.95, -25.38)
CIE-LCHlch(28.83, 55.13, 332.59°)
OKLaboklab(40.74% 0.142 -0.0696)
OKLCHoklch(40.74% 0.158 333.9)
XYZxyz(10.8002, 5.7720, 14.7297)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78196C #197825
analogous
#541978 #78196C #78193C
triadic
#78196C #6C7819 #196C78
tetradic
#78196C #785419 #197825 #193C78
square
#78196C #785419 #197825 #193C78
split-complementary
#78196C #3C7819 #197854
monochromatic
#190517 #450E3E #78196C #AB249A #D536C1

Accessibility & contrast

On white

9.75
#78196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78196C
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78196C#FFFFFF#000000##FFFFFF
##78196C1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163B6E
Deuteranopia (green-blind)
#3B496A
Tritanopia (blue-blind)
#7E2341
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #78196c;
/* rgb */ color: rgb(120, 25, 108);
/* oklch */ color: oklch(40.7% 0.158 333.9);
Tailwind
colors: {
  custom: {
    50: '#a26296',
    500: '#78196c',
    950: '#000000',
  },
}
SCSS
$custom: #78196c;
$custom-light: #a26296;
$custom-dark: #000000;
JSON
{
  "hex": "#78196c",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 307.579,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40745,
    "c": 0.15815,
    "h": 333.9
  },
  "luminance": 0.05771
}

Semantic roles & 50–950 ramp

primary
#78196C
secondary
#40AD4E
accent
#E8553F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78196C

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

Preview Lab → · Contrast checker → · Palette generator →

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