#8D2C8F#8D2C8F

#8D2C8F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.175 H 327.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8D2C8F
RGBrgb(141, 44, 143)
HSLhsl(299, 53%, 37%)
HSVhsv(299, 69%, 56%)
CMYKcmyk(1.4%, 69.2%, 0%, 43.9%)
CIE-LABlab(36.83, 53.11, -34.43)
CIE-LCHlch(36.83, 63.29, 327.05°)
OKLaboklab(47.83% 0.1471 -0.0954)
OKLCHoklch(47.83% 0.175 327)
XYZxyz(16.8428, 9.4484, 26.9179)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C8F #2E8F2C
analogous
#5C2C8F #8D2C8F #8F2C60
triadic
#8D2C8F #8F8D2C #2C8F8D
tetradic
#8D2C8F #8F5C2C #2E8F2C #2C608F
square
#8D2C8F #8F5C2C #2E8F2C #2C608F
split-complementary
#8D2C8F #608F2C #2C8F5C
monochromatic
#310F31 #5F1E60 #8D2C8F #BB3ABE #CE66D0

Accessibility & contrast

On white

7.27
#8D2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8D2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C8F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C8F#FFFFFF#000000##FFFFFF
##8D2C8F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F92
Deuteranopia (green-blind)
#435B8C
Tritanopia (blue-blind)
#913B5A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2c8f;
/* rgb */ color: rgb(141, 44, 143);
/* oklch */ color: oklch(47.8% 0.175 327.0);
Tailwind
colors: {
  custom: {
    50: '#b16eb0',
    500: '#8d2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c8f;
$custom-light: #b16eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c8f",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 298.788,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47833,
    "c": 0.17535,
    "h": 327
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#8D2C8F
secondary
#62B661
accent
#DC4B4E
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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