#8D2A9C#8D2A9C

#8D2A9C is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.189 H 322.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8D2A9C
RGBrgb(141, 42, 156)
HSLhsl(292, 58%, 39%)
HSVhsv(292, 73%, 61%)
CMYKcmyk(9.6%, 73.1%, 0%, 38.8%)
CIE-LABlab(37.34, 56.24, -41.54)
CIE-LCHlch(37.34, 69.92, 323.55°)
OKLaboklab(48.44% 0.149 -0.1161)
OKLCHoklch(48.44% 0.189 322.1)
XYZxyz(17.8126, 9.7199, 32.3839)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A9C #399C2A
analogous
#542A9C #8D2A9C #9C2A72
triadic
#8D2A9C #9C8D2A #2A9C8D
tetradic
#8D2A9C #9C542A #399C2A #2A729C
square
#8D2A9C #9C542A #399C2A #2A729C
split-complementary
#8D2A9C #729C2A #2A9C54
monochromatic
#36103C #611D6C #8D2A9C #B739CA #C86AD7

Accessibility & contrast

On white

7.13
#8D2A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D2A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A9C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A9C#FFFFFF#000000##FFFFFF
##8D2A9C1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2a9c;
/* rgb */ color: rgb(141, 42, 156);
/* oklch */ color: oklch(48.4% 0.189 322.1);
Tailwind
colors: {
  custom: {
    50: '#b26eba',
    500: '#8d2a9c',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a9c;
$custom-light: #b26eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a9c",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 292.105,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4844,
    "c": 0.18889,
    "h": 322.1
  },
  "luminance": 0.09719
}

Semantic roles & 50–950 ramp

primary
#8D2A9C
secondary
#70BD65
accent
#E1475B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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