#8D187D#8D187D

#8D187D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.183 H 334.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8D187D
RGBrgb(141, 24, 125)
HSLhsl(308, 71%, 32%)
HSVhsv(308, 83%, 55%)
CMYKcmyk(0%, 83%, 11.3%, 44.7%)
CIE-LABlab(33.56, 56.66, -28.46)
CIE-LCHlch(33.56, 63.41, 333.33°)
OKLaboklab(45.16% 0.1654 -0.078)
OKLCHoklch(45.16% 0.183 334.8)
XYZxyz(15.0130, 7.7980, 20.1126)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D187D #188D28
analogous
#62188D #8D187D #8D1843
triadic
#8D187D #7D8D18 #187D8D
tetradic
#8D187D #8D6218 #188D28 #18438D
square
#8D187D #8D6218 #188D28 #18438D
split-complementary
#8D187D #438D18 #188D62
monochromatic
#240620 #590F4F #8D187D #C121AB #DF41C9

Accessibility & contrast

On white

8.21
#8D187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D187D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D187D#FFFFFF#000000##FFFFFF
##8D187D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164480
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#94244B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d187d;
/* rgb */ color: rgb(141, 24, 125);
/* oklch */ color: oklch(45.2% 0.183 334.8);
Tailwind
colors: {
  custom: {
    50: '#b265a3',
    500: '#8d187d',
    950: '#000000',
  },
}
SCSS
$custom: #8d187d;
$custom-light: #b265a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d187d",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 308.205,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45161,
    "c": 0.18282,
    "h": 334.8
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#8D187D
secondary
#42BF53
accent
#EE533A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D187D

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

Preview Lab → · Contrast checker → · Palette generator →

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