#8B147D#8B147D

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

Color values

HEX#8B147D
RGBrgb(139, 20, 125)
HSLhsl(307, 75%, 31%)
HSVhsv(307, 86%, 55%)
CMYKcmyk(0%, 85.6%, 10.1%, 45.5%)
CIE-LABlab(32.86, 57.19, -29.59)
CIE-LCHlch(32.86, 64.39, 332.64°)
OKLaboklab(44.59% 0.1662 -0.0812)
OKLCHoklch(44.59% 0.185 333.9)
XYZxyz(14.5994, 7.4713, 20.0713)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B147D #148B22
analogous
#5D148B #8B147D #8B1441
triadic
#8B147D #7D8B14 #147D8B
tetradic
#8B147D #8B5D14 #148B22 #14418B
square
#8B147D #8B5D14 #148B22 #14418B
split-complementary
#8B147D #418B14 #148B5D
monochromatic
#20051D #550C4D #8B147D #C11CAD #E237CE

Accessibility & contrast

On white

8.42
#8B147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B147D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B147D#FFFFFF#000000##FFFFFF
##8B147D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4380
Deuteranopia (green-blind)
#42537A
Tritanopia (blue-blind)
#92234A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b147d;
/* rgb */ color: rgb(139, 20, 125);
/* oklch */ color: oklch(44.6% 0.185 333.9);
Tailwind
colors: {
  custom: {
    50: '#b164a3',
    500: '#8b147d',
    950: '#000000',
  },
}
SCSS
$custom: #8b147d;
$custom-light: #b164a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b147d",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 307.059,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.18498,
    "h": 333.9
  },
  "luminance": 0.0747
}

Semantic roles & 50–950 ramp

primary
#8B147D
secondary
#3CBF4B
accent
#F14C36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B147D

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

Preview Lab → · Contrast checker → · Palette generator →

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