#8D2CB1#8D2CB1

#8D2CB1 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.205 H 314.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8D2CB1
RGBrgb(141, 44, 177)
HSLhsl(284, 60%, 43%)
HSVhsv(284, 75%, 69%)
CMYKcmyk(20.3%, 75.1%, 0%, 30.6%)
CIE-LABlab(38.97, 59.58, -51.51)
CIE-LCHlch(38.97, 78.75, 319.16°)
OKLaboklab(50.04% 0.145 -0.1453)
OKLCHoklch(50.04% 0.205 314.9)
XYZxyz(19.8197, 10.6391, 42.5960)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2CB1 #50B12C
analogous
#4A2CB1 #8D2CB1 #B12C92
triadic
#8D2CB1 #B18D2C #2CB18D
tetradic
#8D2CB1 #B14A2C #50B12C #2C92B1
square
#8D2CB1 #B14A2C #50B12C #2C92B1
split-complementary
#8D2CB1 #92B12C #2CB14A
monochromatic
#3F144F #662080 #8D2CB1 #AD49D2 #C37ADE

Accessibility & contrast

On white

6.71
#8D2CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8D2CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2CB1
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2CB1#FFFFFF#000000##FFFFFF
##8D2CB11.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#265EAE
Tritanopia (blue-blind)
#8A496D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2cb1;
/* rgb */ color: rgb(141, 44, 177);
/* oklch */ color: oklch(50.0% 0.205 314.9);
Tailwind
colors: {
  custom: {
    50: '#b36fc9',
    500: '#8d2cb1',
    950: '#000000',
  },
}
SCSS
$custom: #8d2cb1;
$custom-light: #b36fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2cb1",
  "rgb": {
    "r": 141,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 283.759,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.20524,
    "h": 314.9
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#8D2CB1
secondary
#89C673
accent
#E3446F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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