#8D2C8A#8D2C8A

#8D2C8A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.171 H 329.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8D2C8A
RGBrgb(141, 44, 138)
HSLhsl(302, 52%, 36%)
HSVhsv(302, 69%, 55%)
CMYKcmyk(0%, 68.8%, 2.1%, 44.7%)
CIE-LABlab(36.56, 52.23, -31.80)
CIE-LCHlch(36.56, 61.15, 328.67°)
OKLaboklab(47.54% 0.147 -0.0878)
OKLCHoklch(47.54% 0.171 329.2)
XYZxyz(16.4725, 9.3002, 24.9674)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C8A #2C8D2F
analogous
#602C8D #8D2C8A #8D2C5A
triadic
#8D2C8A #8A8D2C #2C8A8D
tetradic
#8D2C8A #8D602C #2C8D2F #2C5A8D
square
#8D2C8A #8D602C #2C8D2F #2C5A8D
split-complementary
#8D2C8A #5A8D2C #2C8D60
monochromatic
#300F2F #5E1D5C #8D2C8A #BC3BB8 #CF65CC

Accessibility & contrast

On white

7.34
#8D2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8D2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C8A
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C8A#FFFFFF#000000##FFFFFF
##8D2C8A1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8D
Deuteranopia (green-blind)
#465B87
Tritanopia (blue-blind)
#923857
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2c8a;
/* rgb */ color: rgb(141, 44, 138);
/* oklch */ color: oklch(47.5% 0.171 329.2);
Tailwind
colors: {
  custom: {
    50: '#b16eac',
    500: '#8d2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c8a;
$custom-light: #b16eac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c8a",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 301.856,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47543,
    "c": 0.17117,
    "h": 329.2
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#8D2C8A
secondary
#60B562
accent
#DC504C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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