#8D2DAD#8D2DAD

#8D2DAD is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 49.9% C 0.201 H 316.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8D2DAD
RGBrgb(141, 45, 173)
HSLhsl(285, 59%, 43%)
HSVhsv(285, 74%, 68%)
CMYKcmyk(18.5%, 74%, 0%, 32.2%)
CIE-LABlab(38.82, 58.40, -49.36)
CIE-LCHlch(38.82, 76.46, 319.80°)
OKLaboklab(49.85% 0.1446 -0.139)
OKLCHoklch(49.85% 0.201 316.1)
XYZxyz(19.4645, 10.5574, 40.5395)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DAD #4DAD2D
analogous
#4D2DAD #8D2DAD #AD2D8D
triadic
#8D2DAD #AD8D2D #2DAD8D
tetradic
#8D2DAD #AD4D2D #4DAD2D #2D8DAD
square
#8D2DAD #AD4D2D #4DAD2D #2D8DAD
split-complementary
#8D2DAD #8DAD2D #2DAD4D
monochromatic
#3E144C #65207C #8D2DAD #AD48CF #C378DC

Accessibility & contrast

On white

6.75
#8D2DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8D2DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DAD
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DAD#FFFFFF#000000##FFFFFF
##8D2DAD1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#2C5EAA
Tritanopia (blue-blind)
#8B486B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2dad;
/* rgb */ color: rgb(141, 45, 173);
/* oklch */ color: oklch(49.9% 0.201 316.1);
Tailwind
colors: {
  custom: {
    50: '#b270c6',
    500: '#8d2dad',
    950: '#000000',
  },
}
SCSS
$custom: #8d2dad;
$custom-light: #b270c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2dad",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 285,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49851,
    "c": 0.20054,
    "h": 316.1
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#8D2DAD
secondary
#86C472
accent
#E2466D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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