#8B1D8D#8B1D8D

#8B1D8D is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.189 H 327.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8B1D8D
RGBrgb(139, 29, 141)
HSLhsl(299, 66%, 33%)
HSVhsv(299, 79%, 55%)
CMYKcmyk(1.4%, 79.4%, 0%, 44.7%)
CIE-LABlab(34.58, 57.44, -36.80)
CIE-LCHlch(34.58, 68.21, 327.35°)
OKLaboklab(46.12% 0.1593 -0.1022)
OKLCHoklch(46.12% 0.189 327.3)
XYZxyz(15.8943, 8.2919, 25.9575)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D8D #1F8D1D
analogous
#531D8D #8B1D8D #8D1D57
triadic
#8B1D8D #8D8B1D #1D8D8B
tetradic
#8B1D8D #8D531D #1F8D1D #1D578D
square
#8B1D8D #8D531D #1F8D1D #1D578D
split-complementary
#8B1D8D #578D1D #1D8D53
monochromatic
#270827 #59135A #8B1D8D #BD27C0 #D74BDA

Accessibility & contrast

On white

7.90
#8B1D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8B1D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D8D
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D8D#FFFFFF#000000##FFFFFF
##8B1D8D1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#8F3155
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1d8d;
/* rgb */ color: rgb(139, 29, 141);
/* oklch */ color: oklch(46.1% 0.189 327.3);
Tailwind
colors: {
  custom: {
    50: '#b167af',
    500: '#8b1d8d',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d8d;
$custom-light: #b167af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d8d",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 298.929,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4612,
    "c": 0.18928,
    "h": 327.3
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#8B1D8D
secondary
#4CBC4A
accent
#E93F42
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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