#8B147F#8B147F

#8B147F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.186 H 333.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8B147F
RGBrgb(139, 20, 127)
HSLhsl(306, 75%, 31%)
HSVhsv(306, 86%, 55%)
CMYKcmyk(0%, 85.6%, 8.6%, 45.5%)
CIE-LABlab(32.97, 57.49, -30.67)
CIE-LCHlch(32.97, 65.16, 331.92°)
OKLaboklab(44.71% 0.1662 -0.0844)
OKLCHoklch(44.71% 0.186 333.1)
XYZxyz(14.7285, 7.5229, 20.7509)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B147F #148B20
analogous
#5B148B #8B147F #8B1443
triadic
#8B147F #7F8B14 #147F8B
tetradic
#8B147F #8B5B14 #148B20 #14438B
square
#8B147F #8B5B14 #148B20 #14438B
split-complementary
#8B147F #438B14 #148B5B
monochromatic
#20051D #550C4E #8B147F #C11CB0 #E237D1

Accessibility & contrast

On white

8.39
#8B147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B147F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B147F#FFFFFF#000000##FFFFFF
##8B147F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4382
Deuteranopia (green-blind)
#41537C
Tritanopia (blue-blind)
#92244B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b147f;
/* rgb */ color: rgb(139, 20, 127);
/* oklch */ color: oklch(44.7% 0.186 333.1);
Tailwind
colors: {
  custom: {
    50: '#b164a4',
    500: '#8b147f',
    950: '#000000',
  },
}
SCSS
$custom: #8b147f;
$custom-light: #b164a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b147f",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 306.05,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44707,
    "c": 0.18639,
    "h": 333.1
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#8B147F
secondary
#3CBF49
accent
#F14936
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B147F

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

Preview Lab → · Contrast checker → · Palette generator →

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