#8D188B#8D188B

#8D188B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.193 H 329.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#8D188B
RGBrgb(141, 24, 139)
HSLhsl(301, 71%, 32%)
HSVhsv(301, 83%, 55%)
CMYKcmyk(0%, 83%, 1.4%, 44.7%)
CIE-LABlab(34.36, 58.85, -35.90)
CIE-LCHlch(34.36, 68.94, 328.61°)
OKLaboklab(45.99% 0.1654 -0.0995)
OKLCHoklch(45.99% 0.193 329)
XYZxyz(15.9712, 8.1813, 25.1591)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D188B #188D1A
analogous
#55188D #8D188B #8D1850
triadic
#8D188B #8B8D18 #188B8D
tetradic
#8D188B #8D5518 #188D1A #18508D
square
#8D188B #8D5518 #188D1A #18508D
split-complementary
#8D188B #508D18 #188D55
monochromatic
#240624 #590F57 #8D188B #C121BF #DF41DC

Accessibility & contrast

On white

7.97
#8D188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D188B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D188B#FFFFFF#000000##FFFFFF
##8D188B1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d188b;
/* rgb */ color: rgb(141, 24, 139);
/* oklch */ color: oklch(46.0% 0.193 329.0);
Tailwind
colors: {
  custom: {
    50: '#b266ad',
    500: '#8d188b',
    950: '#000000',
  },
}
SCSS
$custom: #8d188b;
$custom-light: #b266ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d188b",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 301.026,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45988,
    "c": 0.19299,
    "h": 329
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#8D188B
secondary
#42BF44
accent
#EE3D3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D188B

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

Preview Lab → · Contrast checker → · Palette generator →

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