#8D187C#8D187C

#8D187C is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.182 H 335.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8D187C
RGBrgb(141, 24, 124)
HSLhsl(309, 71%, 32%)
HSVhsv(309, 83%, 55%)
CMYKcmyk(0%, 83%, 12.1%, 44.7%)
CIE-LABlab(33.50, 56.52, -27.91)
CIE-LCHlch(33.50, 63.03, 333.71°)
OKLaboklab(45.11% 0.1653 -0.0764)
OKLCHoklch(45.11% 0.182 335.2)
XYZxyz(14.9495, 7.7726, 19.7778)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D187C #188D29
analogous
#64188D #8D187C #8D1842
triadic
#8D187C #7C8D18 #187C8D
tetradic
#8D187C #8D6418 #188D29 #18428D
square
#8D187C #8D6418 #188D29 #18428D
split-complementary
#8D187C #428D18 #188D64
monochromatic
#240620 #590F4E #8D187C #C121AA #DF41C8

Accessibility & contrast

On white

8.22
#8D187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D187C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D187C#FFFFFF#000000##FFFFFF
##8D187C1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447F
Deuteranopia (green-blind)
#455579
Tritanopia (blue-blind)
#94244A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d187c;
/* rgb */ color: rgb(141, 24, 124);
/* oklch */ color: oklch(45.1% 0.182 335.2);
Tailwind
colors: {
  custom: {
    50: '#b265a2',
    500: '#8d187c',
    950: '#000000',
  },
}
SCSS
$custom: #8d187c;
$custom-light: #b265a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d187c",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 308.718,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45105,
    "c": 0.18211,
    "h": 335.2
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#8D187C
secondary
#42BF54
accent
#EE543A
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D187C

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

Preview Lab → · Contrast checker → · Palette generator →

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