#8B147C#8B147C

#8B147C is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.184 H 334.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8B147C
RGBrgb(139, 20, 124)
HSLhsl(308, 75%, 31%)
HSVhsv(308, 86%, 55%)
CMYKcmyk(0%, 85.6%, 10.8%, 45.5%)
CIE-LABlab(32.80, 57.04, -29.05)
CIE-LCHlch(32.80, 64.01, 333.01°)
OKLaboklab(44.53% 0.1662 -0.0797)
OKLCHoklch(44.53% 0.184 334.4)
XYZxyz(14.5359, 7.4459, 19.7365)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B147C #148B23
analogous
#5E148B #8B147C #8B1440
triadic
#8B147C #7C8B14 #147C8B
tetradic
#8B147C #8B5E14 #148B23 #14408B
square
#8B147C #8B5E14 #148B23 #14408B
split-complementary
#8B147C #408B14 #148B5E
monochromatic
#20051D #550C4C #8B147C #C11CAC #E237CD

Accessibility & contrast

On white

8.44
#8B147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8B147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B147C
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B147C#FFFFFF#000000##FFFFFF
##8B147C1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427F
Deuteranopia (green-blind)
#425379
Tritanopia (blue-blind)
#922249
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b147c;
/* rgb */ color: rgb(139, 20, 124);
/* oklch */ color: oklch(44.5% 0.184 334.4);
Tailwind
colors: {
  custom: {
    50: '#b164a2',
    500: '#8b147c',
    950: '#000000',
  },
}
SCSS
$custom: #8b147c;
$custom-light: #b164a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b147c",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 307.563,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44534,
    "c": 0.18428,
    "h": 334.4
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#8B147C
secondary
#3CBF4C
accent
#F14E36
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B147C

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

Preview Lab → · Contrast checker → · Palette generator →

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