#8B187A#8B187A

#8B187A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.180 H 335.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8B187A
RGBrgb(139, 24, 122)
HSLhsl(309, 71%, 32%)
HSVhsv(309, 83%, 55%)
CMYKcmyk(0%, 82.7%, 12.2%, 45.5%)
CIE-LABlab(33.02, 55.77, -27.44)
CIE-LCHlch(33.02, 62.16, 333.81°)
OKLaboklab(44.66% 0.1632 -0.0751)
OKLCHoklch(44.66% 0.18 335.3)
XYZxyz(14.4872, 7.5487, 19.1027)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B187A #188B29
analogous
#63188B #8B187A #8B1840
triadic
#8B187A #7A8B18 #187A8B
tetradic
#8B187A #8B6318 #188B29 #18408B
square
#8B187A #8B6318 #188B29 #18408B
split-complementary
#8B187A #408B18 #188B63
monochromatic
#23061E #570F4C #8B187A #BF21A8 #DE3FC7

Accessibility & contrast

On white

8.37
#8B187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8B187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B187A
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B187A#FFFFFF#000000##FFFFFF
##8B187A1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437C
Deuteranopia (green-blind)
#445477
Tritanopia (blue-blind)
#922349
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b187a;
/* rgb */ color: rgb(139, 24, 122);
/* oklch */ color: oklch(44.7% 0.180 335.3);
Tailwind
colors: {
  custom: {
    50: '#b165a1',
    500: '#8b187a',
    950: '#000000',
  },
}
SCSS
$custom: #8b187a;
$custom-light: #b165a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b187a",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 308.87,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44658,
    "c": 0.17966,
    "h": 335.3
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#8B187A
secondary
#40BE53
accent
#ED553A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8B187A

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

Preview Lab → · Contrast checker → · Palette generator →

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