#8D2183#8D2183

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

Color values

HEX#8D2183
RGBrgb(141, 33, 131)
HSLhsl(306, 62%, 34%)
HSVhsv(306, 77%, 55%)
CMYKcmyk(0%, 76.6%, 7.1%, 44.7%)
CIE-LABlab(34.78, 55.01, -30.27)
CIE-LCHlch(34.78, 62.79, 331.18°)
OKLaboklab(46.14% 0.158 -0.0833)
OKLCHoklch(46.14% 0.179 332.2)
XYZxyz(15.6251, 8.3904, 22.2649)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2183 #218D2B
analogous
#61218D #8D2183 #8D214D
triadic
#8D2183 #838D21 #21838D
tetradic
#8D2183 #8D6121 #218D2B #214D8D
square
#8D2183 #8D6121 #218D2B #214D8D
split-complementary
#8D2183 #4D8D21 #218D61
monochromatic
#2A0A27 #5B1555 #8D2183 #BF2DB1 #D652CA

Accessibility & contrast

On white

7.84
#8D2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2183
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2183#FFFFFF#000000##FFFFFF
##8D21831.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4886
Deuteranopia (green-blind)
#455780
Tritanopia (blue-blind)
#932D50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2183;
/* rgb */ color: rgb(141, 33, 131);
/* oklch */ color: oklch(46.1% 0.179 332.2);
Tailwind
colors: {
  custom: {
    50: '#b269a7',
    500: '#8d2183',
    950: '#000000',
  },
}
SCSS
$custom: #8d2183;
$custom-light: #b269a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2183",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 305.556,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46144,
    "c": 0.17861,
    "h": 332.2
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#8D2183
secondary
#50BA5A
accent
#E55243
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2183

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

Preview Lab → · Contrast checker → · Palette generator →

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