#8B1D87#8B1D87

#8B1D87 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.185 H 329.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8B1D87
RGBrgb(139, 29, 135)
HSLhsl(302, 65%, 33%)
HSVhsv(302, 79%, 55%)
CMYKcmyk(0%, 79.1%, 2.9%, 45.5%)
CIE-LABlab(34.23, 56.44, -33.66)
CIE-LCHlch(34.23, 65.71, 329.19°)
OKLaboklab(45.75% 0.1595 -0.0931)
OKLCHoklch(45.75% 0.185 329.7)
XYZxyz(15.4599, 8.1182, 23.6697)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1D87 #1D8B21
analogous
#581D8B #8B1D87 #8B1D50
triadic
#8B1D87 #878B1D #1D878B
tetradic
#8B1D87 #8B581D #1D8B21 #1D508B
square
#8B1D87 #8B581D #1D8B21 #1D508B
split-complementary
#8B1D87 #508B1D #1D8B58
monochromatic
#260825 #581256 #8B1D87 #BE28B8 #D949D4

Accessibility & contrast

On white

8.00
#8B1D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8B1D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1D87
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1D87#FFFFFF#000000##FFFFFF
##8B1D871.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09478A
Deuteranopia (green-blind)
#3F5684
Tritanopia (blue-blind)
#902E52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1d87;
/* rgb */ color: rgb(139, 29, 135);
/* oklch */ color: oklch(45.8% 0.185 329.7);
Tailwind
colors: {
  custom: {
    50: '#b167aa',
    500: '#8b1d87',
    950: '#000000',
  },
}
SCSS
$custom: #8b1d87;
$custom-light: #b167aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1d87",
  "rgb": {
    "r": 139,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 302.182,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.18466,
    "h": 329.7
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#8B1D87
secondary
#49BB4D
accent
#E8463F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1D87

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

Preview Lab → · Contrast checker → · Palette generator →

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