#8B1687#8B1687

#8B1687 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.191 H 329.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8B1687
RGBrgb(139, 22, 135)
HSLhsl(302, 73%, 32%)
HSVhsv(302, 84%, 55%)
CMYKcmyk(0%, 84.2%, 2.9%, 45.5%)
CIE-LABlab(33.59, 58.28, -34.67)
CIE-LCHlch(33.59, 67.81, 329.25°)
OKLaboklab(45.3% 0.1648 -0.096)
OKLCHoklch(45.3% 0.191 329.8)
XYZxyz(15.3075, 7.8133, 23.6189)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1687 #168B1A
analogous
#55168B #8B1687 #8B164D
triadic
#8B1687 #878B16 #16878B
tetradic
#8B1687 #8B5516 #168B1A #164D8B
square
#8B1687 #8B5516 #168B1A #164D8B
split-complementary
#8B1687 #4D8B16 #168B55
monochromatic
#210520 #560E54 #8B1687 #C01EBA #E03BDA

Accessibility & contrast

On white

8.20
#8B1687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B1687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1687
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1687#FFFFFF#000000##FFFFFF
##8B16871.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#3D5484
Tritanopia (blue-blind)
#902A50
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1687;
/* rgb */ color: rgb(139, 22, 135);
/* oklch */ color: oklch(45.3% 0.191 329.8);
Tailwind
colors: {
  custom: {
    50: '#b165aa',
    500: '#8b1687',
    950: '#000000',
  },
}
SCSS
$custom: #8b1687;
$custom-light: #b165aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1687",
  "rgb": {
    "r": 139,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 302.051,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45299,
    "c": 0.19067,
    "h": 329.8
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#8B1687
secondary
#3EBF42
accent
#EF3F38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8B1687

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

Preview Lab → · Contrast checker → · Palette generator →

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