#8D188D#8D188D

#8D188D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.195 H 328.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8D188D
RGBrgb(141, 24, 141)
HSLhsl(300, 71%, 32%)
HSVhsv(300, 83%, 55%)
CMYKcmyk(0%, 83%, 0%, 44.7%)
CIE-LABlab(34.48, 59.18, -36.95)
CIE-LCHlch(34.48, 69.76, 328.02°)
OKLaboklab(46.11% 0.1653 -0.1026)
OKLCHoklch(46.11% 0.195 328.2)
XYZxyz(16.1187, 8.2403, 25.9357)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D188D #188D18
analogous
#53188D #8D188D #8D1853
triadic
#8D188D #8D8D18 #188D8D
tetradic
#8D188D #8D5318 #188D18 #18538D
square
#8D188D #8D5318 #188D18 #18538D
split-complementary
#8D188D #538D18 #188D53
monochromatic
#240624 #590F59 #8D188D #C121C1 #DF41DF

Accessibility & contrast

On white

7.93
#8D188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8D188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D188D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D188D#FFFFFF#000000##FFFFFF
##8D188D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#922E54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d188d;
/* rgb */ color: rgb(141, 24, 141);
/* oklch */ color: oklch(46.1% 0.195 328.2);
Tailwind
colors: {
  custom: {
    50: '#b266af',
    500: '#8d188d',
    950: '#000000',
  },
}
SCSS
$custom: #8d188d;
$custom-light: #b266af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d188d",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46113,
    "c": 0.1945,
    "h": 328.2
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#8D188D
secondary
#42BF42
accent
#EE3A3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D188D

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

Preview Lab → · Contrast checker → · Palette generator →

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