#8D2A9D#8D2A9D

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

Color values

HEX#8D2A9D
RGBrgb(141, 42, 157)
HSLhsl(292, 58%, 39%)
HSVhsv(292, 73%, 62%)
CMYKcmyk(10.2%, 73.2%, 0%, 38.4%)
CIE-LABlab(37.40, 56.43, -42.05)
CIE-LCHlch(37.40, 70.37, 323.31°)
OKLaboklab(48.5% 0.149 -0.1176)
OKLCHoklch(48.5% 0.19 321.7)
XYZxyz(17.8976, 9.7540, 32.8317)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A9D #3A9D2A
analogous
#542A9D #8D2A9D #9D2A74
triadic
#8D2A9D #9D8D2A #2A9D8D
tetradic
#8D2A9D #9D542A #3A9D2A #2A749D
square
#8D2A9D #9D542A #3A9D2A #2A749D
split-complementary
#8D2A9D #749D2A #2A9D54
monochromatic
#36103C #621D6D #8D2A9D #B63ACA #C86AD7

Accessibility & contrast

On white

7.12
#8D2A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D2A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A9D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A9D#FFFFFF#000000##FFFFFF
##8D2A9D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#395C9A
Tritanopia (blue-blind)
#8E3F61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2a9d;
/* rgb */ color: rgb(141, 42, 157);
/* oklch */ color: oklch(48.5% 0.190 321.7);
Tailwind
colors: {
  custom: {
    50: '#b26eba',
    500: '#8d2a9d',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a9d;
$custom-light: #b26eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a9d",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 291.652,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48504,
    "c": 0.18976,
    "h": 321.7
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#8D2A9D
secondary
#71BE65
accent
#E1475C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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