#78148F#78148F

#78148F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.7% C 0.191 H 318.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#78148F
RGBrgb(120, 20, 143)
HSLhsl(289, 75%, 32%)
HSVhsv(289, 86%, 56%)
CMYKcmyk(16.1%, 86%, 0%, 43.9%)
CIE-LABlab(30.59, 56.50, -44.63)
CIE-LCHlch(30.59, 72.00, 321.70°)
OKLaboklab(42.71% 0.1434 -0.1256)
OKLCHoklch(42.71% 0.191 318.8)
XYZxyz(12.9531, 6.4772, 26.5492)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78148F #2B8F14
analogous
#3A148F #78148F #8F1469
triadic
#78148F #8F7814 #148F78
tetradic
#78148F #8F3A14 #2B8F14 #14698F
square
#78148F #8F3A14 #2B8F14 #14698F
split-complementary
#78148F #698F14 #148F3A
monochromatic
#1E0524 #4B0C59 #78148F #A51CC5 #C43AE3

Accessibility & contrast

On white

9.15
#78148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#78148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78148F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78148F#FFFFFF#000000##FFFFFF
##78148F1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#1D4B8C
Tritanopia (blue-blind)
#783254
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78148f;
/* rgb */ color: rgb(120, 20, 143);
/* oklch */ color: oklch(42.7% 0.191 318.8);
Tailwind
colors: {
  custom: {
    50: '#a362b0',
    500: '#78148f',
    950: '#000000',
  },
}
SCSS
$custom: #78148f;
$custom-light: #a362b0;
$custom-dark: #000000;
JSON
{
  "hex": "#78148f",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 288.78,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42706,
    "c": 0.19065,
    "h": 318.8
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#78148F
secondary
#55C33C
accent
#F23659
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #78148F

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

Preview Lab → · Contrast checker → · Palette generator →

#78148F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva