#8D2181#8D2181

#8D2181 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.177 H 333.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8D2181
RGBrgb(141, 33, 129)
HSLhsl(307, 62%, 34%)
HSVhsv(307, 77%, 55%)
CMYKcmyk(0%, 76.6%, 8.5%, 44.7%)
CIE-LABlab(34.67, 54.69, -29.20)
CIE-LCHlch(34.67, 62.00, 331.90°)
OKLaboklab(46.03% 0.1579 -0.0802)
OKLCHoklch(46.03% 0.177 333.1)
XYZxyz(15.4909, 8.3367, 21.5579)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2181 #218D2D
analogous
#63218D #8D2181 #8D214B
triadic
#8D2181 #818D21 #21818D
tetradic
#8D2181 #8D6321 #218D2D #214B8D
square
#8D2181 #8D6321 #218D2D #214B8D
split-complementary
#8D2181 #4B8D21 #218D63
monochromatic
#2A0A26 #5B1554 #8D2181 #BF2DAE #D652C8

Accessibility & contrast

On white

7.87
#8D2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8D2181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2181
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2181#FFFFFF#000000##FFFFFF
##8D21811.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#46577E
Tritanopia (blue-blind)
#942C4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d2181;
/* rgb */ color: rgb(141, 33, 129);
/* oklch */ color: oklch(46.0% 0.177 333.1);
Tailwind
colors: {
  custom: {
    50: '#b269a6',
    500: '#8d2181',
    950: '#000000',
  },
}
SCSS
$custom: #8d2181;
$custom-light: #b269a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2181",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 306.667,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46031,
    "c": 0.17711,
    "h": 333.1
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#8D2181
secondary
#50BA5C
accent
#E55543
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2181

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

Preview Lab → · Contrast checker → · Palette generator →

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