#8D28BD#8D28BD

#8D28BD is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.220 H 311.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8D28BD
RGBrgb(141, 40, 189)
HSLhsl(281, 65%, 45%)
HSVhsv(281, 79%, 74%)
CMYKcmyk(25.4%, 78.8%, 0%, 25.9%)
CIE-LABlab(39.34, 63.41, -57.99)
CIE-LCHlch(39.34, 85.93, 317.55°)
OKLaboklab(50.57% 0.1463 -0.1643)
OKLCHoklch(50.57% 0.22 311.7)
XYZxyz(20.9269, 10.8550, 49.1271)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28BD #58BD28
analogous
#4228BD #8D28BD #BD28A3
triadic
#8D28BD #BD8D28 #28BD8D
tetradic
#8D28BD #BD4228 #58BD28 #28A3BD
square
#8D28BD #BD4228 #58BD28 #28A3BD
split-complementary
#8D28BD #A3BD28 #28BD42
monochromatic
#421358 #671D8A #8D28BD #AB4AD9 #C27CE3

Accessibility & contrast

On white

6.62
#8D28BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8D28BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D28BD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28BD#FFFFFF#000000##FFFFFF
##8D28BD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#874D73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d28bd;
/* rgb */ color: rgb(141, 40, 189);
/* oklch */ color: oklch(50.6% 0.220 311.7);
Tailwind
colors: {
  custom: {
    50: '#b36ed2',
    500: '#8d28bd',
    950: '#000000',
  },
}
SCSS
$custom: #8d28bd;
$custom-light: #b36ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28bd",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 280.671,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.22,
    "h": 311.7
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#8D28BD
secondary
#91CB75
accent
#E84076
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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