#8B1B8D#8B1B8D

#8B1B8D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.191 H 327.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8B1B8D
RGBrgb(139, 27, 141)
HSLhsl(299, 68%, 33%)
HSVhsv(299, 81%, 55%)
CMYKcmyk(1.4%, 80.9%, 0%, 44.7%)
CIE-LABlab(34.39, 58.00, -37.11)
CIE-LCHlch(34.39, 68.85, 327.39°)
OKLaboklab(45.98% 0.1609 -0.1031)
OKLCHoklch(45.98% 0.191 327.3)
XYZxyz(15.8469, 8.1971, 25.9417)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B8D #1D8D1B
analogous
#521B8D #8B1B8D #8D1B56
triadic
#8B1B8D #8D8B1B #1B8D8B
tetradic
#8B1B8D #8D521B #1D8D1B #1B568D
square
#8B1B8D #8D521B #1D8D1B #1B568D
split-complementary
#8B1B8D #568D1B #1B8D52
monochromatic
#260726 #58115A #8B1B8D #BE25C0 #D947DC

Accessibility & contrast

On white

7.96
#8B1B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8B1B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B8D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B8D#FFFFFF#000000##FFFFFF
##8B1B8D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1b8d;
/* rgb */ color: rgb(139, 27, 141);
/* oklch */ color: oklch(46.0% 0.191 327.3);
Tailwind
colors: {
  custom: {
    50: '#b167af',
    500: '#8b1b8d',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b8d;
$custom-light: #b167af;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b8d",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 298.947,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45983,
    "c": 0.19109,
    "h": 327.3
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#8B1B8D
secondary
#49BD46
accent
#EB3D40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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