#8D2C9F#8D2C9F

#8D2C9F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.189 H 320.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8D2C9F
RGBrgb(141, 44, 159)
HSLhsl(291, 57%, 40%)
HSVhsv(291, 72%, 62%)
CMYKcmyk(11.3%, 72.3%, 0%, 37.6%)
CIE-LABlab(37.79, 56.05, -42.64)
CIE-LCHlch(37.79, 70.43, 322.74°)
OKLaboklab(48.82% 0.1468 -0.1193)
OKLCHoklch(48.82% 0.189 320.9)
XYZxyz(18.1425, 9.9682, 33.7626)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C9F #3E9F2C
analogous
#542C9F #8D2C9F #9F2C77
triadic
#8D2C9F #9F8D2C #2C9F8D
tetradic
#8D2C9F #9F542C #3E9F2C #2C779F
square
#8D2C9F #9F542C #3E9F2C #2C779F
split-complementary
#8D2C9F #779F2C #2C9F54
monochromatic
#38113F #621F6F #8D2C9F #B43ECA #C76ED7

Accessibility & contrast

On white

7.02
#8D2C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8D2C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2C9F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C9F#FFFFFF#000000##FFFFFF
##8D2C9F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#395C9C
Tritanopia (blue-blind)
#8E4263
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2c9f;
/* rgb */ color: rgb(141, 44, 159);
/* oklch */ color: oklch(48.8% 0.189 320.9);
Tailwind
colors: {
  custom: {
    50: '#b26fbc',
    500: '#8d2c9f',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c9f;
$custom-light: #b26fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c9f",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 290.609,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48821,
    "c": 0.18918,
    "h": 320.9
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

primary
#8D2C9F
secondary
#76BE69
accent
#E04860
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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