#8D187F#8D187F

#8D187F is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.184 H 333.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8D187F
RGBrgb(141, 24, 127)
HSLhsl(307, 71%, 32%)
HSVhsv(307, 83%, 55%)
CMYKcmyk(0%, 83%, 9.9%, 44.7%)
CIE-LABlab(33.67, 56.97, -29.54)
CIE-LCHlch(33.67, 64.17, 332.59°)
OKLaboklab(45.28% 0.1654 -0.0811)
OKLCHoklch(45.28% 0.184 333.9)
XYZxyz(15.1421, 7.8497, 20.7922)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D187F #188D26
analogous
#60188D #8D187F #8D1845
triadic
#8D187F #7F8D18 #187F8D
tetradic
#8D187F #8D6018 #188D26 #18458D
square
#8D187F #8D6018 #188D26 #18458D
split-complementary
#8D187F #458D18 #188D60
monochromatic
#240621 #590F50 #8D187F #C121AE #DF41CC

Accessibility & contrast

On white

8.17
#8D187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8D187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D187F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D187F#FFFFFF#000000##FFFFFF
##8D187F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134582
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#94264C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d187f;
/* rgb */ color: rgb(141, 24, 127);
/* oklch */ color: oklch(45.3% 0.184 333.9);
Tailwind
colors: {
  custom: {
    50: '#b265a4',
    500: '#8d187f',
    950: '#000000',
  },
}
SCSS
$custom: #8d187f;
$custom-light: #b265a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d187f",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 307.179,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45275,
    "c": 0.18423,
    "h": 333.9
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#8D187F
secondary
#42BF51
accent
#EE503A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D187F

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

Preview Lab → · Contrast checker → · Palette generator →

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