#8D2185#8D2185

#8D2185 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.180 H 331.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8D2185
RGBrgb(141, 33, 133)
HSLhsl(304, 62%, 34%)
HSVhsv(304, 77%, 55%)
CMYKcmyk(0%, 76.6%, 5.7%, 44.7%)
CIE-LABlab(34.89, 55.33, -31.34)
CIE-LCHlch(34.89, 63.59, 330.47°)
OKLaboklab(46.26% 0.1581 -0.0863)
OKLCHoklch(46.26% 0.18 331.4)
XYZxyz(15.7620, 8.4452, 22.9857)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2185 #218D29
analogous
#5F218D #8D2185 #8D214F
triadic
#8D2185 #858D21 #21858D
tetradic
#8D2185 #8D5F21 #218D29 #214F8D
square
#8D2185 #8D5F21 #218D29 #214F8D
split-complementary
#8D2185 #4F8D21 #218D5F
monochromatic
#2A0A27 #5B1556 #8D2185 #BF2DB4 #D652CD

Accessibility & contrast

On white

7.81
#8D2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2185
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2185#FFFFFF#000000##FFFFFF
##8D21851.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174988
Deuteranopia (green-blind)
#445782
Tritanopia (blue-blind)
#932F51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2185;
/* rgb */ color: rgb(141, 33, 133);
/* oklch */ color: oklch(46.3% 0.180 331.4);
Tailwind
colors: {
  custom: {
    50: '#b269a9',
    500: '#8d2185',
    950: '#000000',
  },
}
SCSS
$custom: #8d2185;
$custom-light: #b269a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2185",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 304.444,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.18013,
    "h": 331.4
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#8D2185
secondary
#50BA58
accent
#E54F43
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2185

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

Preview Lab → · Contrast checker → · Palette generator →

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