#8B1C87#8B1C87

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

Color values

HEX#8B1C87
RGBrgb(139, 28, 135)
HSLhsl(302, 66%, 33%)
HSVhsv(302, 80%, 55%)
CMYKcmyk(0%, 79.9%, 2.9%, 45.5%)
CIE-LABlab(34.13, 56.72, -33.81)
CIE-LCHlch(34.13, 66.04, 329.20°)
OKLaboklab(45.68% 0.1603 -0.0935)
OKLCHoklch(45.68% 0.186 329.7)
XYZxyz(15.4358, 8.0700, 23.6617)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C87 #1C8B20
analogous
#571C8B #8B1C87 #8B1C50
triadic
#8B1C87 #878B1C #1C878B
tetradic
#8B1C87 #8B571C #1C8B20 #1C508B
square
#8B1C87 #8B571C #1C8B20 #1C508B
split-complementary
#8B1C87 #508B1C #1C8B57
monochromatic
#250724 #581256 #8B1C87 #BE26B8 #DA47D5

Accessibility & contrast

On white

8.03
#8B1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8B1C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1C87
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C87#FFFFFF#000000##FFFFFF
##8B1C871.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#3F5584
Tritanopia (blue-blind)
#902D51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b1c87;
/* rgb */ color: rgb(139, 28, 135);
/* oklch */ color: oklch(45.7% 0.186 329.7);
Tailwind
colors: {
  custom: {
    50: '#b167aa',
    500: '#8b1c87',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c87;
$custom-light: #b167aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c87",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 302.162,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.18559,
    "h": 329.7
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#8B1C87
secondary
#47BC4B
accent
#E9453E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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