#78179E#78179E

#78179E is a dark, highly saturated purple. Relative luminance 0.071; OKLCH L 44.0% C 0.201 H 313.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#78179E
RGBrgb(120, 23, 158)
HSLhsl(283, 75%, 35%)
HSVhsv(283, 85%, 62%)
CMYKcmyk(24.1%, 85.4%, 0%, 38%)
CIE-LABlab(31.98, 58.65, -51.57)
CIE-LCHlch(31.98, 78.10, 318.68°)
OKLaboklab(44.03% 0.1381 -0.146)
OKLCHoklch(44.03% 0.201 313.4)
XYZxyz(14.2226, 7.0750, 32.9575)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78179E #3D9E17
analogous
#34179E #78179E #9E1780
triadic
#78179E #9E7817 #179E78
tetradic
#78179E #9E3417 #3D9E17 #17809E
square
#78179E #9E3417 #3D9E17 #17809E
split-complementary
#78179E #809E17 #179E34
monochromatic
#270733 #4F0F69 #78179E #A11FD3 #B94BE5

Accessibility & contrast

On white

8.70
#78179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78179E
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78179E#FFFFFF#000000##FFFFFF
##78179E1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78179e;
/* rgb */ color: rgb(120, 23, 158);
/* oklch */ color: oklch(44.0% 0.201 313.4);
Tailwind
colors: {
  custom: {
    50: '#a463bb',
    500: '#78179e',
    950: '#000000',
  },
}
SCSS
$custom: #78179e;
$custom-light: #a463bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78179e",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 283.111,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44033,
    "c": 0.20101,
    "h": 313.4
  },
  "luminance": 0.07074
}

Semantic roles & 50–950 ramp

primary
#78179E
secondary
#6DC64A
accent
#F1376B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #78179E

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

Preview Lab → · Contrast checker → · Palette generator →

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