#8D2CBD#8D2CBD

#8D2CBD is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.216 H 311.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8D2CBD
RGBrgb(141, 44, 189)
HSLhsl(280, 62%, 46%)
HSVhsv(280, 77%, 74%)
CMYKcmyk(25.4%, 76.7%, 0%, 25.9%)
CIE-LABlab(39.81, 62.03, -57.22)
CIE-LCHlch(39.81, 84.39, 317.31°)
OKLaboklab(50.9% 0.143 -0.1621)
OKLCHoklch(50.9% 0.216 311.4)
XYZxyz(21.0688, 11.1388, 49.1744)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CBD #5CBD2C
analogous
#442CBD #8D2CBD #BD2CA4
triadic
#8D2CBD #BD8D2C #2CBD8D
tetradic
#8D2CBD #BD442C #5CBD2C #2CA4BD
square
#8D2CBD #BD442C #5CBD2C #2CA4BD
split-complementary
#8D2CBD #A4BD2C #2CBD44
monochromatic
#43155A #68208B #8D2CBD #AA50D6 #C282E2

Accessibility & contrast

On white

6.51
#8D2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8D2CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CBD
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CBD#FFFFFF#000000##FFFFFF
##8D2CBD1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0B5FBA
Tritanopia (blue-blind)
#874F74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d2cbd;
/* rgb */ color: rgb(141, 44, 189);
/* oklch */ color: oklch(50.9% 0.216 311.4);
Tailwind
colors: {
  custom: {
    50: '#b370d2',
    500: '#8d2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #8d2cbd;
$custom-light: #b370d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2cbd",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 280.138,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.21612,
    "h": 311.4
  },
  "luminance": 0.11138
}

Semantic roles & 50–950 ramp

primary
#8D2CBD
secondary
#95CB7A
accent
#E54278
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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