#8D2C9A#8D2C9A

#8D2C9A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.185 H 322.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8D2C9A
RGBrgb(141, 44, 154)
HSLhsl(293, 56%, 39%)
HSVhsv(293, 71%, 60%)
CMYKcmyk(8.4%, 71.4%, 0%, 39.6%)
CIE-LABlab(37.48, 55.11, -40.11)
CIE-LCHlch(37.48, 68.16, 323.96°)
OKLaboklab(48.5% 0.1471 -0.1119)
OKLCHoklch(48.5% 0.185 322.7)
XYZxyz(17.7173, 9.7982, 31.5236)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C9A #399A2C
analogous
#562C9A #8D2C9A #9A2C70
triadic
#8D2C9A #9A8D2C #2C9A8D
tetradic
#8D2C9A #9A562C #399A2C #2C709A
square
#8D2C9A #9A562C #399A2C #2C709A
split-complementary
#8D2C9A #709A2C #2C9A56
monochromatic
#36113B #611E6A #8D2C9A #B73CC7 #C86CD5

Accessibility & contrast

On white

7.10
#8D2C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8D2C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C9A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C9A#FFFFFF#000000##FFFFFF
##8D2C9A1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03519D
Deuteranopia (green-blind)
#3C5C97
Tritanopia (blue-blind)
#8F3F60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2c9a;
/* rgb */ color: rgb(141, 44, 154);
/* oklch */ color: oklch(48.5% 0.185 322.7);
Tailwind
colors: {
  custom: {
    50: '#b26eb8',
    500: '#8d2c9a',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c9a;
$custom-light: #b26eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c9a",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 292.909,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48503,
    "c": 0.18479,
    "h": 322.7
  },
  "luminance": 0.09797
}

Semantic roles & 50–950 ramp

primary
#8D2C9A
secondary
#70BC66
accent
#DF495B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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