#8D2C8B#8D2C8B

#8D2C8B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.172 H 328.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8D2C8B
RGBrgb(141, 44, 139)
HSLhsl(301, 52%, 36%)
HSVhsv(301, 69%, 55%)
CMYKcmyk(0%, 68.8%, 1.4%, 44.7%)
CIE-LABlab(36.61, 52.41, -32.33)
CIE-LCHlch(36.61, 61.58, 328.33°)
OKLaboklab(47.6% 0.147 -0.0893)
OKLCHoklch(47.6% 0.172 328.7)
XYZxyz(16.5452, 9.3293, 25.3504)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C8B #2C8D2E
analogous
#5F2C8D #8D2C8B #8D2C5B
triadic
#8D2C8B #8B8D2C #2C8B8D
tetradic
#8D2C8B #8D5F2C #2C8D2E #2C5B8D
square
#8D2C8B #8D5F2C #2C8D2E #2C5B8D
split-complementary
#8D2C8B #5B8D2C #2C8D5F
monochromatic
#300F2F #5E1D5D #8D2C8B #BC3BB9 #CF65CD

Accessibility & contrast

On white

7.33
#8D2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8D2C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C8B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C8B#FFFFFF#000000##FFFFFF
##8D2C8B1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204E8E
Deuteranopia (green-blind)
#465B88
Tritanopia (blue-blind)
#923958
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2c8b;
/* rgb */ color: rgb(141, 44, 139);
/* oklch */ color: oklch(47.6% 0.172 328.7);
Tailwind
colors: {
  custom: {
    50: '#b16ead',
    500: '#8d2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c8b;
$custom-light: #b16ead;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c8b",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 301.237,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.476,
    "c": 0.172,
    "h": 328.7
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#8D2C8B
secondary
#60B561
accent
#DC4F4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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