#78108D#78108D

#78108D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.192 H 319.7°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#78108D
RGBrgb(120, 16, 141)
HSLhsl(290, 80%, 31%)
HSVhsv(290, 89%, 55%)
CMYKcmyk(14.9%, 88.7%, 0%, 44.7%)
CIE-LABlab(30.13, 57.05, -44.13)
CIE-LCHlch(30.13, 72.13, 322.28°)
OKLaboklab(42.34% 0.1462 -0.1242)
OKLCHoklch(42.34% 0.192 319.7)
XYZxyz(12.7381, 6.2874, 25.7368)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78108D #258D10
analogous
#39108D #78108D #8D1063
triadic
#78108D #8D7810 #108D78
tetradic
#78108D #8D3910 #258D10 #10638D
square
#78108D #8D3910 #258D10 #10638D
split-complementary
#78108D #638D10 #108D39
monochromatic
#1A041F #490A56 #78108D #A716C4 #C930E7

Accessibility & contrast

On white

9.30
#78108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#78108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78108D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78108D#FFFFFF#000000##FFFFFF
##78108D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#1E4A8A
Tritanopia (blue-blind)
#783052
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78108d;
/* rgb */ color: rgb(120, 16, 141);
/* oklch */ color: oklch(42.3% 0.192 319.7);
Tailwind
colors: {
  custom: {
    50: '#a360af',
    500: '#78108d',
    950: '#000000',
  },
}
SCSS
$custom: #78108d;
$custom-light: #a360af;
$custom-dark: #000000;
JSON
{
  "hex": "#78108d",
  "rgb": {
    "r": 120,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 289.92,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42339,
    "c": 0.1918,
    "h": 319.7
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#78108D
secondary
#4EC237
accent
#F63253
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #78108D

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

Preview Lab → · Contrast checker → · Palette generator →

#78108D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva