#8D2C9C#8D2C9C

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

Color values

HEX#8D2C9C
RGBrgb(141, 44, 156)
HSLhsl(292, 56%, 39%)
HSVhsv(292, 72%, 61%)
CMYKcmyk(9.6%, 71.8%, 0%, 38.8%)
CIE-LABlab(37.60, 55.49, -41.12)
CIE-LCHlch(37.60, 69.06, 323.46°)
OKLaboklab(48.63% 0.147 -0.1149)
OKLCHoklch(48.63% 0.187 322)
XYZxyz(17.8853, 9.8654, 32.4082)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C9C #3B9C2C
analogous
#552C9C #8D2C9C #9C2C73
triadic
#8D2C9C #9C8D2C #2C9C8D
tetradic
#8D2C9C #9C552C #3B9C2C #2C739C
square
#8D2C9C #9C552C #3B9C2C #2C739C
split-complementary
#8D2C9C #739C2C #2C9C55
monochromatic
#37113D #621F6C #8D2C9C #B63DC8 #C86DD6

Accessibility & contrast

On white

7.06
#8D2C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8D2C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C9C
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C9C#FFFFFF#000000##FFFFFF
##8D2C9C1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#3B5C99
Tritanopia (blue-blind)
#8F4061
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2c9c;
/* rgb */ color: rgb(141, 44, 156);
/* oklch */ color: oklch(48.6% 0.187 322.0);
Tailwind
colors: {
  custom: {
    50: '#b26fba',
    500: '#8d2c9c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c9c;
$custom-light: #b26fba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c9c",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 291.964,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48629,
    "c": 0.18654,
    "h": 322
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#8D2C9C
secondary
#73BD67
accent
#DF495D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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