#8D2C8D#8D2C8D

#8D2C8D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.174 H 327.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8D2C8D
RGBrgb(141, 44, 141)
HSLhsl(300, 52%, 36%)
HSVhsv(300, 69%, 55%)
CMYKcmyk(0%, 68.8%, 0%, 44.7%)
CIE-LABlab(36.72, 52.76, -33.38)
CIE-LCHlch(36.72, 62.43, 327.68°)
OKLaboklab(47.72% 0.1471 -0.0923)
OKLCHoklch(47.72% 0.174 327.9)
XYZxyz(16.6927, 9.3883, 26.1271)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C8D #2C8D2C
analogous
#5D2C8D #8D2C8D #8D2C5D
triadic
#8D2C8D #8D8D2C #2C8D8D
tetradic
#8D2C8D #8D5D2C #2C8D2C #2C5D8D
square
#8D2C8D #8D5D2C #2C8D2C #2C5D8D
split-complementary
#8D2C8D #5D8D2C #2C8D5D
monochromatic
#300F30 #5E1D5E #8D2C8D #BC3BBC #CF65CF

Accessibility & contrast

On white

7.30
#8D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8D2C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C8D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C8D#FFFFFF#000000##FFFFFF
##8D2C8D1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#913A59
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2c8d;
/* rgb */ color: rgb(141, 44, 141);
/* oklch */ color: oklch(47.7% 0.174 327.9);
Tailwind
colors: {
  custom: {
    50: '#b16eaf',
    500: '#8d2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c8d;
$custom-light: #b16eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c8d",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.17367,
    "h": 327.9
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#8D2C8D
secondary
#60B560
accent
#DC4C4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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