#8D2C7E#8D2C7E

#8D2C7E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 46.9% C 0.162 H 334.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8D2C7E
RGBrgb(141, 44, 126)
HSLhsl(309, 52%, 36%)
HSVhsv(309, 69%, 55%)
CMYKcmyk(0%, 68.8%, 10.6%, 44.7%)
CIE-LABlab(35.93, 50.22, -25.36)
CIE-LCHlch(35.93, 56.26, 333.21°)
OKLaboklab(46.89% 0.146 -0.0692)
OKLCHoklch(46.89% 0.162 334.6)
XYZxyz(15.6512, 8.9717, 20.6420)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C7E #2C8D3B
analogous
#6C2C8D #8D2C7E #8D2C4E
triadic
#8D2C7E #7E8D2C #2C7E8D
tetradic
#8D2C7E #8D6C2C #2C8D3B #2C4E8D
square
#8D2C7E #8D6C2C #2C8D3B #2C4E8D
split-complementary
#8D2C7E #4E8D2C #2C8D6C
monochromatic
#300F2B #5E1D54 #8D2C7E #BC3BA8 #CF65BE

Accessibility & contrast

On white

7.52
#8D2C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8D2C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C7E
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C7E#FFFFFF#000000##FFFFFF
##8D2C7E1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#943351
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d2c7e;
/* rgb */ color: rgb(141, 44, 126);
/* oklch */ color: oklch(46.9% 0.162 334.6);
Tailwind
colors: {
  custom: {
    50: '#b16da3',
    500: '#8d2c7e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c7e;
$custom-light: #b16da3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c7e",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 309.278,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46886,
    "c": 0.16154,
    "h": 334.6
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#8D2C7E
secondary
#60B56D
accent
#DC624C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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