#8D2DBD#8D2DBD

#8D2DBD is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.215 H 311.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8D2DBD
RGBrgb(141, 45, 189)
HSLhsl(280, 62%, 46%)
HSVhsv(280, 76%, 74%)
CMYKcmyk(25.4%, 76.2%, 0%, 25.9%)
CIE-LABlab(39.94, 61.67, -57.01)
CIE-LCHlch(39.94, 83.98, 317.25°)
OKLaboklab(50.99% 0.1421 -0.1615)
OKLCHoklch(50.99% 0.215 311.4)
XYZxyz(21.1065, 11.2142, 49.1869)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DBD #5DBD2D
analogous
#452DBD #8D2DBD #BD2DA5
triadic
#8D2DBD #BD8D2D #2DBD8D
tetradic
#8D2DBD #BD452D #5DBD2D #2DA5BD
square
#8D2DBD #BD452D #5DBD2D #2DA5BD
split-complementary
#8D2DBD #A5BD2D #2DBD45
monochromatic
#43155A #68218C #8D2DBD #AA52D6 #C283E1

Accessibility & contrast

On white

6.48
#8D2DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8D2DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DBD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DBD#FFFFFF#000000##FFFFFF
##8D2DBD1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0E60BA
Tritanopia (blue-blind)
#874F74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d2dbd;
/* rgb */ color: rgb(141, 45, 189);
/* oklch */ color: oklch(51.0% 0.215 311.4);
Tailwind
colors: {
  custom: {
    50: '#b370d2',
    500: '#8d2dbd',
    950: '#000000',
  },
}
SCSS
$custom: #8d2dbd;
$custom-light: #b370d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2dbd",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 189
  },
  "hsl": {
    "h": 280,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50991,
    "c": 0.2151,
    "h": 311.4
  },
  "luminance": 0.11214
}

Semantic roles & 50–950 ramp

primary
#8D2DBD
secondary
#96CB7B
accent
#E54379
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D2DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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