#8B1887#8B1887

#8B1887 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.189 H 329.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8B1887
RGBrgb(139, 24, 135)
HSLhsl(302, 71%, 32%)
HSVhsv(302, 83%, 55%)
CMYKcmyk(0%, 82.7%, 2.9%, 45.5%)
CIE-LABlab(33.76, 57.79, -34.40)
CIE-LCHlch(33.76, 67.26, 329.24°)
OKLaboklab(45.42% 0.1634 -0.0952)
OKLCHoklch(45.42% 0.189 329.8)
XYZxyz(15.3472, 7.8927, 23.6321)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1887 #188B1C
analogous
#56188B #8B1887 #8B184E
triadic
#8B1887 #878B18 #18878B
tetradic
#8B1887 #8B5618 #188B1C #184E8B
square
#8B1887 #8B5618 #188B1C #184E8B
split-complementary
#8B1887 #4E8B18 #188B56
monochromatic
#230622 #570F54 #8B1887 #BF21BA #DE3FD8

Accessibility & contrast

On white

8.14
#8B1887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8B1887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1887
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1887#FFFFFF#000000##FFFFFF
##8B18871.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#3E5584
Tritanopia (blue-blind)
#902B50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1887;
/* rgb */ color: rgb(139, 24, 135);
/* oklch */ color: oklch(45.4% 0.189 329.8);
Tailwind
colors: {
  custom: {
    50: '#b166aa',
    500: '#8b1887',
    950: '#000000',
  },
}
SCSS
$custom: #8b1887;
$custom-light: #b166aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1887",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 302.087,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45418,
    "c": 0.18909,
    "h": 329.8
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#8B1887
secondary
#40BE45
accent
#ED413A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B1887

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

Preview Lab → · Contrast checker → · Palette generator →

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