#8D2184#8D2184

#8D2184 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.179 H 331.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8D2184
RGBrgb(141, 33, 132)
HSLhsl(305, 62%, 34%)
HSVhsv(305, 77%, 55%)
CMYKcmyk(0%, 76.6%, 6.4%, 44.7%)
CIE-LABlab(34.84, 55.17, -30.81)
CIE-LCHlch(34.84, 63.19, 330.82°)
OKLaboklab(46.2% 0.1581 -0.0848)
OKLCHoklch(46.2% 0.179 331.8)
XYZxyz(15.6932, 8.4177, 22.6236)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2184 #218D2A
analogous
#60218D #8D2184 #8D214E
triadic
#8D2184 #848D21 #21848D
tetradic
#8D2184 #8D6021 #218D2A #214E8D
square
#8D2184 #8D6021 #218D2A #214E8D
split-complementary
#8D2184 #4E8D21 #218D60
monochromatic
#2A0A27 #5B1556 #8D2184 #BF2DB2 #D652CB

Accessibility & contrast

On white

7.83
#8D2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8D2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2184
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2184#FFFFFF#000000##FFFFFF
##8D21841.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184887
Deuteranopia (green-blind)
#445781
Tritanopia (blue-blind)
#932E51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2184;
/* rgb */ color: rgb(141, 33, 132);
/* oklch */ color: oklch(46.2% 0.179 331.8);
Tailwind
colors: {
  custom: {
    50: '#b269a8',
    500: '#8d2184',
    950: '#000000',
  },
}
SCSS
$custom: #8d2184;
$custom-light: #b269a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2184",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 305,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46201,
    "c": 0.17937,
    "h": 331.8
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#8D2184
secondary
#50BA59
accent
#E55043
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2184

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

Preview Lab → · Contrast checker → · Palette generator →

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