#8B147A#8B147A

#8B147A is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.183 H 335.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8B147A
RGBrgb(139, 20, 122)
HSLhsl(309, 75%, 31%)
HSVhsv(309, 86%, 55%)
CMYKcmyk(0%, 85.6%, 12.2%, 45.5%)
CIE-LABlab(32.69, 56.74, -27.96)
CIE-LCHlch(32.69, 63.25, 333.76°)
OKLaboklab(44.42% 0.1661 -0.0766)
OKLCHoklch(44.42% 0.183 335.3)
XYZxyz(14.4107, 7.3958, 19.0772)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B147A #148B25
analogous
#60148B #8B147A #8B143E
triadic
#8B147A #7A8B14 #147A8B
tetradic
#8B147A #8B6014 #148B25 #143E8B
square
#8B147A #8B6014 #148B25 #143E8B
split-complementary
#8B147A #3E8B14 #148B60
monochromatic
#20051C #550C4B #8B147A #C11CA9 #E237CA

Accessibility & contrast

On white

8.47
#8B147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8B147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B147A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B147A#FFFFFF#000000##FFFFFF
##8B147A1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427D
Deuteranopia (green-blind)
#435377
Tritanopia (blue-blind)
#922148
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b147a;
/* rgb */ color: rgb(139, 20, 122);
/* oklch */ color: oklch(44.4% 0.183 335.3);
Tailwind
colors: {
  custom: {
    50: '#b164a1',
    500: '#8b147a',
    950: '#000000',
  },
}
SCSS
$custom: #8b147a;
$custom-light: #b164a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b147a",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 308.571,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4442,
    "c": 0.18289,
    "h": 335.3
  },
  "luminance": 0.07394
}

Semantic roles & 50–950 ramp

primary
#8B147A
secondary
#3CBF4E
accent
#F15136
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8B147A

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

Preview Lab → · Contrast checker → · Palette generator →

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