#8B1D7D#8B1D7D

#8B1D7D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.177 H 334.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8B1D7D
RGBrgb(139, 29, 125)
HSLhsl(308, 65%, 33%)
HSVhsv(308, 79%, 55%)
CMYKcmyk(0%, 79.1%, 10.1%, 45.5%)
CIE-LABlab(33.67, 54.84, -28.31)
CIE-LCHlch(33.67, 61.72, 332.70°)
OKLaboklab(45.17% 0.1593 -0.0776)
OKLCHoklch(45.17% 0.177 334)
XYZxyz(14.7886, 7.8497, 20.1343)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D7D #1D8B2B
analogous
#621D8B #8B1D7D #8B1D46
triadic
#8B1D7D #7D8B1D #1D7D8B
tetradic
#8B1D7D #8B621D #1D8B2B #1D468B
square
#8B1D7D #8B621D #1D8B2B #1D468B
split-complementary
#8B1D7D #468B1D #1D8B62
monochromatic
#260822 #58124F #8B1D7D #BE28AB #D949C7

Accessibility & contrast

On white

8.17
#8B1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8B1D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D7D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D7D#FFFFFF#000000##FFFFFF
##8B1D7D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4580
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#92284C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1d7d;
/* rgb */ color: rgb(139, 29, 125);
/* oklch */ color: oklch(45.2% 0.177 334.0);
Tailwind
colors: {
  custom: {
    50: '#b067a3',
    500: '#8b1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d7d;
$custom-light: #b067a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d7d",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 307.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45171,
    "c": 0.17717,
    "h": 334
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#8B1D7D
secondary
#49BB57
accent
#E8553F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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