#78107E#78107E

#78107E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.180 H 325.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#78107E
RGBrgb(120, 16, 126)
HSLhsl(297, 77%, 28%)
HSVhsv(297, 87%, 49%)
CMYKcmyk(4.8%, 87.3%, 0%, 50.6%)
CIE-LABlab(29.08, 54.37, -36.43)
CIE-LCHlch(29.08, 65.45, 326.18°)
OKLaboklab(41.28% 0.1485 -0.1016)
OKLCHoklch(41.28% 0.18 325.6)
XYZxyz(11.6967, 5.8708, 20.2517)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78107E #167E10
analogous
#41107E #78107E #7E104D
triadic
#78107E #7E7810 #107E78
tetradic
#78107E #7E4110 #167E10 #104D7E
square
#78107E #7E4110 #167E10 #104D7E
split-complementary
#78107E #4D7E10 #107E41
monochromatic
#1A031B #440948 #78107E #AC17B4 #D925E3

Accessibility & contrast

On white

9.66
#78107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#78107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78107E
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78107E#FFFFFF#000000##FFFFFF
##78107E1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#7B284A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #78107e;
/* rgb */ color: rgb(120, 16, 126);
/* oklch */ color: oklch(41.3% 0.180 325.6);
Tailwind
colors: {
  custom: {
    50: '#a360a4',
    500: '#78107e',
    950: '#000000',
  },
}
SCSS
$custom: #78107e;
$custom-light: #a360a4;
$custom-dark: #000000;
JSON
{
  "hex": "#78107e",
  "rgb": {
    "r": 120,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 296.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.41277,
    "c": 0.17993,
    "h": 325.6
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#78107E
secondary
#3CB436
accent
#F4343E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10050F
muted
#7F7A7F

Preview Lab

Preview with #78107E

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

Preview Lab → · Contrast checker → · Palette generator →

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