#8D188C#8D188C

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

Color values

HEX#8D188C
RGBrgb(141, 24, 140)
HSLhsl(301, 71%, 32%)
HSVhsv(301, 83%, 55%)
CMYKcmyk(0%, 83%, 0.7%, 44.7%)
CIE-LABlab(34.42, 59.02, -36.43)
CIE-LCHlch(34.42, 69.35, 328.32°)
OKLaboklab(46.05% 0.1653 -0.101)
OKLCHoklch(46.05% 0.194 328.6)
XYZxyz(16.0446, 8.2107, 25.5456)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D188C #188D19
analogous
#54188D #8D188C #8D1851
triadic
#8D188C #8C8D18 #188C8D
tetradic
#8D188C #8D5418 #188D19 #18518D
square
#8D188C #8D5418 #188D19 #18518D
split-complementary
#8D188C #518D18 #188D54
monochromatic
#240624 #590F58 #8D188C #C121C0 #DF41DD

Accessibility & contrast

On white

7.95
#8D188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D188C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D188C#FFFFFF#000000##FFFFFF
##8D188C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#922D53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d188c;
/* rgb */ color: rgb(141, 24, 140);
/* oklch */ color: oklch(46.1% 0.194 328.6);
Tailwind
colors: {
  custom: {
    50: '#b266ae',
    500: '#8d188c',
    950: '#000000',
  },
}
SCSS
$custom: #8d188c;
$custom-light: #b266ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d188c",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 300.513,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4605,
    "c": 0.19374,
    "h": 328.6
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#8D188C
secondary
#42BF43
accent
#EE3C3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D188C

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

Preview Lab → · Contrast checker → · Palette generator →

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