#8B147E#8B147E

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

Color values

HEX#8B147E
RGBrgb(139, 20, 126)
HSLhsl(307, 75%, 31%)
HSVhsv(307, 86%, 55%)
CMYKcmyk(0%, 85.6%, 9.4%, 45.5%)
CIE-LABlab(32.91, 57.34, -30.13)
CIE-LCHlch(32.91, 64.77, 332.28°)
OKLaboklab(44.65% 0.1662 -0.0828)
OKLCHoklch(44.65% 0.186 333.5)
XYZxyz(14.6636, 7.4970, 20.4094)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B147E #148B21
analogous
#5C148B #8B147E #8B1442
triadic
#8B147E #7E8B14 #147E8B
tetradic
#8B147E #8B5C14 #148B21 #14428B
square
#8B147E #8B5C14 #148B21 #14428B
split-complementary
#8B147E #428B14 #148B5C
monochromatic
#20051D #550C4D #8B147E #C11CAE #E237D0

Accessibility & contrast

On white

8.40
#8B147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B147E
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B147E#FFFFFF#000000##FFFFFF
##8B147E1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4381
Deuteranopia (green-blind)
#41537B
Tritanopia (blue-blind)
#92234B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b147e;
/* rgb */ color: rgb(139, 20, 126);
/* oklch */ color: oklch(44.6% 0.186 333.5);
Tailwind
colors: {
  custom: {
    50: '#b164a4',
    500: '#8b147e',
    950: '#000000',
  },
}
SCSS
$custom: #8b147e;
$custom-light: #b164a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b147e",
  "rgb": {
    "r": 139,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 306.555,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44649,
    "c": 0.18568,
    "h": 333.5
  },
  "luminance": 0.07496
}

Semantic roles & 50–950 ramp

primary
#8B147E
secondary
#3CBF4A
accent
#F14B36
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B147E

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

Preview Lab → · Contrast checker → · Palette generator →

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