#78196E#78196E

#78196E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.160 H 332.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#78196E
RGBrgb(120, 25, 110)
HSLhsl(306, 66%, 28%)
HSVhsv(306, 79%, 47%)
CMYKcmyk(0%, 79.2%, 8.3%, 52.9%)
CIE-LABlab(28.94, 49.27, -26.49)
CIE-LCHlch(28.94, 55.94, 331.74°)
OKLaboklab(40.86% 0.1421 -0.0728)
OKLCHoklch(40.86% 0.16 332.9)
XYZxyz(10.9079, 5.8151, 15.2968)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78196E #197823
analogous
#521978 #78196E #78193E
triadic
#78196E #6E7819 #196E78
tetradic
#78196E #785219 #197823 #193E78
square
#78196E #785219 #197823 #193E78
split-complementary
#78196E #3E7819 #197852
monochromatic
#190517 #450E40 #78196E #AB249C #D536C4

Accessibility & contrast

On white

9.71
#78196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#78196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78196E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78196E#FFFFFF#000000##FFFFFF
##78196E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C70
Deuteranopia (green-blind)
#3A496C
Tritanopia (blue-blind)
#7E2442
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #78196e;
/* rgb */ color: rgb(120, 25, 110);
/* oklch */ color: oklch(40.9% 0.160 332.9);
Tailwind
colors: {
  custom: {
    50: '#a26298',
    500: '#78196e',
    950: '#000000',
  },
}
SCSS
$custom: #78196e;
$custom-light: #a26298;
$custom-dark: #000000;
JSON
{
  "hex": "#78196e",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 306.316,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40861,
    "c": 0.15968,
    "h": 332.9
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#78196E
secondary
#40AD4C
accent
#E8513F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78196E

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

Preview Lab → · Contrast checker → · Palette generator →

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