#8B1D89#8B1D89

#8B1D89 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.186 H 328.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8B1D89
RGBrgb(139, 29, 137)
HSLhsl(301, 65%, 33%)
HSVhsv(301, 79%, 55%)
CMYKcmyk(0%, 79.1%, 1.4%, 45.5%)
CIE-LABlab(34.34, 56.77, -34.71)
CIE-LCHlch(34.34, 66.54, 328.56°)
OKLaboklab(45.87% 0.1595 -0.0961)
OKLCHoklch(45.87% 0.186 328.9)
XYZxyz(15.6020, 8.1750, 24.4183)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D89 #1D8B1F
analogous
#561D8B #8B1D89 #8B1D52
triadic
#8B1D89 #898B1D #1D898B
tetradic
#8B1D89 #8B561D #1D8B1F #1D528B
square
#8B1D89 #8B561D #1D8B1F #1D528B
split-complementary
#8B1D89 #528B1D #1D8B56
monochromatic
#260825 #581257 #8B1D89 #BE28BB #D949D6

Accessibility & contrast

On white

7.97
#8B1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8B1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D89
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D89#FFFFFF#000000##FFFFFF
##8B1D891.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03488C
Deuteranopia (green-blind)
#3E5686
Tritanopia (blue-blind)
#902F53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b1d89;
/* rgb */ color: rgb(139, 29, 137);
/* oklch */ color: oklch(45.9% 0.186 328.9);
Tailwind
colors: {
  custom: {
    50: '#b167ac',
    500: '#8b1d89',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d89;
$custom-light: #b167ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d89",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 301.091,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.18619,
    "h": 328.9
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#8B1D89
secondary
#49BB4B
accent
#E8423F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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