#8B1879#8B1879

#8B1879 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.179 H 335.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8B1879
RGBrgb(139, 24, 121)
HSLhsl(309, 71%, 32%)
HSVhsv(309, 83%, 55%)
CMYKcmyk(0%, 82.7%, 12.9%, 45.5%)
CIE-LABlab(32.97, 55.62, -26.89)
CIE-LCHlch(32.97, 61.78, 334.20°)
OKLaboklab(44.6% 0.1632 -0.0735)
OKLCHoklch(44.6% 0.179 335.7)
XYZxyz(14.4255, 7.5241, 18.7780)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1879 #188B2A
analogous
#64188B #8B1879 #8B1840
triadic
#8B1879 #798B18 #18798B
tetradic
#8B1879 #8B6418 #188B2A #18408B
square
#8B1879 #8B6418 #188B2A #18408B
split-complementary
#8B1879 #408B18 #188B64
monochromatic
#23061E #570F4C #8B1879 #BF21A6 #DE3FC5

Accessibility & contrast

On white

8.38
#8B1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8B1879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1879
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1879#FFFFFF#000000##FFFFFF
##8B18791.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19437B
Deuteranopia (green-blind)
#455376
Tritanopia (blue-blind)
#922348
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1879;
/* rgb */ color: rgb(139, 24, 121);
/* oklch */ color: oklch(44.6% 0.179 335.7);
Tailwind
colors: {
  custom: {
    50: '#b165a0',
    500: '#8b1879',
    950: '#000000',
  },
}
SCSS
$custom: #8b1879;
$custom-light: #b165a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1879",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 309.391,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44603,
    "c": 0.17895,
    "h": 335.7
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#8B1879
secondary
#40BE54
accent
#ED563A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1879

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

Preview Lab → · Contrast checker → · Palette generator →

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