#8D2188#8D2188

#8D2188 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.182 H 330.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8D2188
RGBrgb(141, 33, 136)
HSLhsl(303, 62%, 34%)
HSVhsv(303, 77%, 55%)
CMYKcmyk(0%, 76.6%, 3.5%, 44.7%)
CIE-LABlab(35.06, 55.82, -32.93)
CIE-LCHlch(35.06, 64.81, 329.46°)
OKLaboklab(46.43% 0.1581 -0.0909)
OKLCHoklch(46.43% 0.182 330.1)
XYZxyz(15.9722, 8.5293, 24.0929)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2188 #218D26
analogous
#5C218D #8D2188 #8D2152
triadic
#8D2188 #888D21 #21888D
tetradic
#8D2188 #8D5C21 #218D26 #21528D
square
#8D2188 #8D5C21 #218D26 #21528D
split-complementary
#8D2188 #528D21 #218D5C
monochromatic
#2A0A28 #5B1558 #8D2188 #BF2DB8 #D652D0

Accessibility & contrast

On white

7.76
#8D2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8D2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2188
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2188#FFFFFF#000000##FFFFFF
##8D21881.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12498B
Deuteranopia (green-blind)
#425885
Tritanopia (blue-blind)
#923053
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2188;
/* rgb */ color: rgb(141, 33, 136);
/* oklch */ color: oklch(46.4% 0.182 330.1);
Tailwind
colors: {
  custom: {
    50: '#b269ab',
    500: '#8d2188',
    950: '#000000',
  },
}
SCSS
$custom: #8d2188;
$custom-light: #b269ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2188",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 302.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46433,
    "c": 0.18243,
    "h": 330.1
  },
  "luminance": 0.08528
}

Semantic roles & 50–950 ramp

primary
#8D2188
secondary
#50BA55
accent
#E54A43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2188

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

Preview Lab → · Contrast checker → · Palette generator →

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