#78169E#78169E

#78169E is a dark, highly saturated purple. Relative luminance 0.070; OKLCH L 44.0% C 0.202 H 313.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#78169E
RGBrgb(120, 22, 158)
HSLhsl(283, 76%, 35%)
HSVhsv(283, 86%, 62%)
CMYKcmyk(24.1%, 86.1%, 0%, 38%)
CIE-LABlab(31.89, 58.91, -51.71)
CIE-LCHlch(31.89, 78.39, 318.73°)
OKLaboklab(43.97% 0.1388 -0.1464)
OKLCHoklch(43.97% 0.202 313.5)
XYZxyz(14.2031, 7.0360, 32.9510)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78169E #3C9E16
analogous
#34169E #78169E #9E1680
triadic
#78169E #9E7816 #169E78
tetradic
#78169E #9E3416 #3C9E16 #16809E
square
#78169E #9E3416 #3C9E16 #16809E
split-complementary
#78169E #809E16 #169E34
monochromatic
#260733 #4F0F68 #78169E #A11DD4 #BA49E6

Accessibility & contrast

On white

8.72
#78169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#78169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78169E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78169E#FFFFFF#000000##FFFFFF
##78169E1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#743B5D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #78169e;
/* rgb */ color: rgb(120, 22, 158);
/* oklch */ color: oklch(44.0% 0.202 313.5);
Tailwind
colors: {
  custom: {
    50: '#a463bb',
    500: '#78169e',
    950: '#000000',
  },
}
SCSS
$custom: #78169e;
$custom-light: #a463bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78169e",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 283.235,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43971,
    "c": 0.20174,
    "h": 313.5
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#78169E
secondary
#6CC749
accent
#F2366A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #78169E

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

Preview Lab → · Contrast checker → · Palette generator →

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