#8D2B9C#8D2B9C

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

Color values

HEX#8D2B9C
RGBrgb(141, 43, 156)
HSLhsl(292, 57%, 39%)
HSVhsv(292, 72%, 61%)
CMYKcmyk(9.6%, 72.4%, 0%, 38.8%)
CIE-LABlab(37.47, 55.87, -41.34)
CIE-LCHlch(37.47, 69.50, 323.50°)
OKLaboklab(48.53% 0.148 -0.1155)
OKLCHoklch(48.53% 0.188 322)
XYZxyz(17.8485, 9.7918, 32.3959)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2B9C #3A9C2B
analogous
#552B9C #8D2B9C #9C2B73
triadic
#8D2B9C #9C8D2B #2B9C8D
tetradic
#8D2B9C #9C552B #3A9C2B #2B739C
square
#8D2B9C #9C552B #3A9C2B #2B739C
split-complementary
#8D2B9C #739C2B #2B9C55
monochromatic
#36113C #621E6C #8D2B9C #B63BC9 #C86BD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D2B9C#FFFFFF#000000##FFFFFF
##8D2B9C1.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)
#00519F
Deuteranopia (green-blind)
#3A5C99
Tritanopia (blue-blind)
#8F4061
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2b9c;
/* rgb */ color: rgb(141, 43, 156);
/* oklch */ color: oklch(48.5% 0.188 322.0);
Tailwind
colors: {
  custom: {
    50: '#b26eba',
    500: '#8d2b9c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2b9c;
$custom-light: #b26eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2b9c",
  "rgb": {
    "r": 141,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 292.035,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48534,
    "c": 0.18774,
    "h": 322
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#8D2B9C
secondary
#71BD66
accent
#E0485C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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