#8D2C9E#8D2C9E

#8D2C9E is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.188 H 321.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8D2C9E
RGBrgb(141, 44, 158)
HSLhsl(291, 56%, 40%)
HSVhsv(291, 72%, 62%)
CMYKcmyk(10.8%, 72.2%, 0%, 38%)
CIE-LABlab(37.72, 55.86, -42.13)
CIE-LCHlch(37.72, 69.97, 322.98°)
OKLaboklab(48.76% 0.1469 -0.1178)
OKLCHoklch(48.76% 0.188 321.3)
XYZxyz(18.0560, 9.9337, 33.3074)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2C9E #3D9E2C
analogous
#542C9E #8D2C9E #9E2C76
triadic
#8D2C9E #9E8D2C #2C9E8D
tetradic
#8D2C9E #9E542C #3D9E2C #2C769E
square
#8D2C9E #9E542C #3D9E2C #2C769E
split-complementary
#8D2C9E #769E2C #2C9E54
monochromatic
#38113E #621F6E #8D2C9E #B43EC9 #C76ED7

Accessibility & contrast

On white

7.03
#8D2C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2C9E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2C9E#FFFFFF#000000##FFFFFF
##8D2C9E1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#395C9B
Tritanopia (blue-blind)
#8E4162
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2c9e;
/* rgb */ color: rgb(141, 44, 158);
/* oklch */ color: oklch(48.8% 0.188 321.3);
Tailwind
colors: {
  custom: {
    50: '#b26fbb',
    500: '#8d2c9e',
    950: '#000000',
  },
}
SCSS
$custom: #8d2c9e;
$custom-light: #b26fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2c9e",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 291.053,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48757,
    "c": 0.1883,
    "h": 321.3
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#8D2C9E
secondary
#75BE68
accent
#E0485F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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