#8D188F#8D188F

#8D188F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.196 H 327.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8D188F
RGBrgb(141, 24, 143)
HSLhsl(299, 71%, 33%)
HSVhsv(299, 83%, 56%)
CMYKcmyk(1.4%, 83.2%, 0%, 43.9%)
CIE-LABlab(34.60, 59.51, -37.98)
CIE-LCHlch(34.60, 70.60, 327.45°)
OKLaboklab(46.24% 0.1651 -0.1056)
OKLCHoklch(46.24% 0.196 327.4)
XYZxyz(16.2688, 8.3004, 26.7265)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D188F #1A8F18
analogous
#52188F #8D188F #8F1855
triadic
#8D188F #8F8D18 #188F8D
tetradic
#8D188F #8F5218 #1A8F18 #18558F
square
#8D188F #8F5218 #1A8F18 #18558F
split-complementary
#8D188F #558F18 #188F52
monochromatic
#260626 #590F5B #8D188F #C121C3 #DD42DF

Accessibility & contrast

On white

7.90
#8D188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8D188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D188F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D188F#FFFFFF#000000##FFFFFF
##8D188F1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#3B568C
Tritanopia (blue-blind)
#912F55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d188f;
/* rgb */ color: rgb(141, 24, 143);
/* oklch */ color: oklch(46.2% 0.196 327.4);
Tailwind
colors: {
  custom: {
    50: '#b266b0',
    500: '#8d188f',
    950: '#000000',
  },
}
SCSS
$custom: #8d188f;
$custom-light: #b266b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d188f",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 298.992,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46239,
    "c": 0.19601,
    "h": 327.4
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#8D188F
secondary
#45C043
accent
#EE3A3D
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D188F

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

Preview Lab → · Contrast checker → · Palette generator →

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