#8D2C9D#8D2C9D

#8D2C9D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.187 H 321.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8D2C9D
RGBrgb(141, 44, 157)
HSLhsl(292, 56%, 39%)
HSVhsv(292, 72%, 62%)
CMYKcmyk(10.2%, 72%, 0%, 38.4%)
CIE-LABlab(37.66, 55.68, -41.63)
CIE-LCHlch(37.66, 69.52, 323.21°)
OKLaboklab(48.69% 0.1469 -0.1163)
OKLCHoklch(48.69% 0.187 321.6)
XYZxyz(17.9703, 9.8994, 32.8560)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C9D #3C9D2C
analogous
#542C9D #8D2C9D #9D2C75
triadic
#8D2C9D #9D8D2C #2C9D8D
tetradic
#8D2C9D #9D542C #3C9D2C #2C759D
square
#8D2C9D #9D542C #3C9D2C #2C759D
split-complementary
#8D2C9D #759D2C #2C9D54
monochromatic
#37113D #621F6D #8D2C9D #B53DC9 #C76DD6

Accessibility & contrast

On white

7.05
#8D2C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D2C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C9D
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C9D#FFFFFF#000000##FFFFFF
##8D2C9D1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#3A5C9A
Tritanopia (blue-blind)
#8E4162
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2c9d;
/* rgb */ color: rgb(141, 44, 157);
/* oklch */ color: oklch(48.7% 0.187 321.6);
Tailwind
colors: {
  custom: {
    50: '#b26fba',
    500: '#8d2c9d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c9d;
$custom-light: #b26fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c9d",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 291.504,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.18742,
    "h": 321.6
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#8D2C9D
secondary
#74BD68
accent
#E0485E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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