#8B1478#8B1478

#8B1478 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.182 H 336.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8B1478
RGBrgb(139, 20, 120)
HSLhsl(310, 75%, 31%)
HSVhsv(310, 86%, 55%)
CMYKcmyk(0%, 85.6%, 13.7%, 45.5%)
CIE-LABlab(32.58, 56.45, -26.87)
CIE-LCHlch(32.58, 62.51, 334.54°)
OKLaboklab(44.31% 0.166 -0.0734)
OKLCHoklch(44.31% 0.182 336.1)
XYZxyz(14.2880, 7.3467, 18.4312)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1478 #148B27
analogous
#62148B #8B1478 #8B143C
triadic
#8B1478 #788B14 #14788B
tetradic
#8B1478 #8B6214 #148B27 #143C8B
square
#8B1478 #8B6214 #148B27 #143C8B
split-complementary
#8B1478 #3C8B14 #148B62
monochromatic
#20051C #550C4A #8B1478 #C11CA6 #E237C7

Accessibility & contrast

On white

8.51
#8B1478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8B1478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1478
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1478#FFFFFF#000000##FFFFFF
##8B14781.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427A
Deuteranopia (green-blind)
#445375
Tritanopia (blue-blind)
#931F47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1478;
/* rgb */ color: rgb(139, 20, 120);
/* oklch */ color: oklch(44.3% 0.182 336.1);
Tailwind
colors: {
  custom: {
    50: '#b1649f',
    500: '#8b1478',
    950: '#000000',
  },
}
SCSS
$custom: #8b1478;
$custom-light: #b1649f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1478",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 120
  },
  "hsl": {
    "h": 309.58,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44308,
    "c": 0.18151,
    "h": 336.1
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#8B1478
secondary
#3CBF51
accent
#F15436
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1478

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

Preview Lab → · Contrast checker → · Palette generator →

#8B1478 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva