#78159E#78159E

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

Color values

HEX#78159E
RGBrgb(120, 21, 158)
HSLhsl(283, 77%, 35%)
HSVhsv(283, 87%, 62%)
CMYKcmyk(24.1%, 86.7%, 0%, 38%)
CIE-LABlab(31.80, 59.16, -51.85)
CIE-LCHlch(31.80, 78.67, 318.77°)
OKLaboklab(43.91% 0.1394 -0.1468)
OKLCHoklch(43.91% 0.202 313.5)
XYZxyz(14.1844, 6.9985, 32.9448)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78159E #3B9E15
analogous
#34159E #78159E #9E157F
triadic
#78159E #9E7815 #159E78
tetradic
#78159E #9E3415 #3B9E15 #157F9E
square
#78159E #9E3415 #3B9E15 #157F9E
split-complementary
#78159E #7F9E15 #159E34
monochromatic
#260732 #4F0E68 #78159E #A11CD4 #BA47E7

Accessibility & contrast

On white

8.75
#78159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#78159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78159E
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78159E#FFFFFF#000000##FFFFFF
##78159E1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78159e;
/* rgb */ color: rgb(120, 21, 158);
/* oklch */ color: oklch(43.9% 0.202 313.5);
Tailwind
colors: {
  custom: {
    50: '#a463bb',
    500: '#78159e',
    950: '#000000',
  },
}
SCSS
$custom: #78159e;
$custom-light: #a463bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78159e",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 283.358,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43912,
    "c": 0.20245,
    "h": 313.5
  },
  "luminance": 0.06998
}

Semantic roles & 50–950 ramp

primary
#78159E
secondary
#6BC747
accent
#F3356A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #78159E

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

Preview Lab → · Contrast checker → · Palette generator →

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