#8D2CB9#8D2CB9

#8D2CB9 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.212 H 312.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8D2CB9
RGBrgb(141, 44, 185)
HSLhsl(281, 62%, 45%)
HSVhsv(281, 76%, 73%)
CMYKcmyk(23.8%, 76.2%, 0%, 27.5%)
CIE-LABlab(39.53, 61.20, -55.33)
CIE-LCHlch(39.53, 82.51, 317.88°)
OKLaboklab(50.61% 0.1437 -0.1565)
OKLCHoklch(50.61% 0.212 312.6)
XYZxyz(20.6406, 10.9675, 46.9192)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CB9 #58B92C
analogous
#472CB9 #8D2CB9 #B92C9E
triadic
#8D2CB9 #B98D2C #2CB98D
tetradic
#8D2CB9 #B9472C #58B92C #2C9EB9
square
#8D2CB9 #B9472C #58B92C #2C9EB9
split-complementary
#8D2CB9 #9EB92C #2CB947
monochromatic
#421456 #672088 #8D2CB9 #AB4DD5 #C27FE1

Accessibility & contrast

On white

6.58
#8D2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8D2CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CB9
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CB9#FFFFFF#000000##FFFFFF
##8D2CB91.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#185FB6
Tritanopia (blue-blind)
#884D71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2cb9;
/* rgb */ color: rgb(141, 44, 185);
/* oklch */ color: oklch(50.6% 0.212 312.6);
Tailwind
colors: {
  custom: {
    50: '#b370cf',
    500: '#8d2cb9',
    950: '#000000',
  },
}
SCSS
$custom: #8d2cb9;
$custom-light: #b370cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2cb9",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 281.277,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50609,
    "c": 0.21249,
    "h": 312.6
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#8D2CB9
secondary
#91C978
accent
#E54376
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D2CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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