#8B187B#8B187B

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

Color values

HEX#8B187B
RGBrgb(139, 24, 123)
HSLhsl(308, 71%, 32%)
HSVhsv(308, 83%, 55%)
CMYKcmyk(0%, 82.7%, 11.5%, 45.5%)
CIE-LABlab(33.08, 55.92, -27.98)
CIE-LCHlch(33.08, 62.53, 333.42°)
OKLaboklab(44.71% 0.1633 -0.0766)
OKLCHoklch(44.71% 0.18 334.9)
XYZxyz(14.5494, 7.5736, 19.4306)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B187B #188B28
analogous
#62188B #8B187B #8B1842
triadic
#8B187B #7B8B18 #187B8B
tetradic
#8B187B #8B6218 #188B28 #18428B
square
#8B187B #8B6218 #188B28 #18428B
split-complementary
#8B187B #428B18 #188B62
monochromatic
#23061F #570F4D #8B187B #BF21A9 #DE3FC8

Accessibility & contrast

On white

8.35
#8B187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B187B
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B187B#FFFFFF#000000##FFFFFF
##8B187B1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437E
Deuteranopia (green-blind)
#445478
Tritanopia (blue-blind)
#92244A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b187b;
/* rgb */ color: rgb(139, 24, 123);
/* oklch */ color: oklch(44.7% 0.180 334.9);
Tailwind
colors: {
  custom: {
    50: '#b165a1',
    500: '#8b187b',
    950: '#000000',
  },
}
SCSS
$custom: #8b187b;
$custom-light: #b165a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b187b",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 308.348,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44714,
    "c": 0.18036,
    "h": 334.9
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#8B187B
secondary
#40BE52
accent
#ED533A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8B187B

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

Preview Lab → · Contrast checker → · Palette generator →

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