#8B187D#8B187D

#8B187D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.182 H 334.0°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8B187D
RGBrgb(139, 24, 125)
HSLhsl(307, 71%, 32%)
HSVhsv(307, 83%, 55%)
CMYKcmyk(0%, 82.7%, 10.1%, 45.5%)
CIE-LABlab(33.19, 56.23, -29.07)
CIE-LCHlch(33.19, 63.29, 332.66°)
OKLaboklab(44.83% 0.1634 -0.0798)
OKLCHoklch(44.83% 0.182 334)
XYZxyz(14.6759, 7.6242, 20.0968)
Luminance0.0762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B187D #188B26
analogous
#5F188B #8B187D #8B1844
triadic
#8B187D #7D8B18 #187D8B
tetradic
#8B187D #8B5F18 #188B26 #18448B
square
#8B187D #8B5F18 #188B26 #18448B
split-complementary
#8B187D #448B18 #188B5F
monochromatic
#23061F #570F4E #8B187D #BF21AC #DE3FCB

Accessibility & contrast

On white

8.32
#8B187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8B187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B187D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B187D#FFFFFF#000000##FFFFFF
##8B187D1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144480
Deuteranopia (green-blind)
#43547A
Tritanopia (blue-blind)
#92254B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b187d;
/* rgb */ color: rgb(139, 24, 125);
/* oklch */ color: oklch(44.8% 0.182 334.0);
Tailwind
colors: {
  custom: {
    50: '#b165a3',
    500: '#8b187d',
    950: '#000000',
  },
}
SCSS
$custom: #8b187d;
$custom-light: #b165a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b187d",
  "rgb": {
    "r": 139,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 307.304,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44827,
    "c": 0.18178,
    "h": 334
  },
  "luminance": 0.07623
}

Semantic roles & 50–950 ramp

primary
#8B187D
secondary
#40BE50
accent
#ED503A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B187D

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

Preview Lab → · Contrast checker → · Palette generator →

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