#8D28BC#8D28BC

#8D28BC is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.219 H 312.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8D28BC
RGBrgb(141, 40, 188)
HSLhsl(281, 65%, 45%)
HSVhsv(281, 79%, 74%)
CMYKcmyk(25%, 78.7%, 0%, 26.3%)
CIE-LABlab(39.26, 63.20, -57.52)
CIE-LCHlch(39.26, 85.46, 317.69°)
OKLaboklab(50.49% 0.1465 -0.1629)
OKLCHoklch(50.49% 0.219 312)
XYZxyz(20.8187, 10.8117, 48.5574)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28BC #57BC28
analogous
#4328BC #8D28BC #BC28A1
triadic
#8D28BC #BC8D28 #28BC8D
tetradic
#8D28BC #BC4328 #57BC28 #28A1BC
square
#8D28BC #BC4328 #57BC28 #28A1BC
split-complementary
#8D28BC #A1BC28 #28BC43
monochromatic
#411357 #671D8A #8D28BC #AB49D8 #C27BE3

Accessibility & contrast

On white

6.64
#8D28BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8D28BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D28BC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28BC#FFFFFF#000000##FFFFFF
##8D28BC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#055EB9
Tritanopia (blue-blind)
#874C72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d28bc;
/* rgb */ color: rgb(141, 40, 188);
/* oklch */ color: oklch(50.5% 0.219 312.0);
Tailwind
colors: {
  custom: {
    50: '#b36ed1',
    500: '#8d28bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d28bc;
$custom-light: #b36ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28bc",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 280.946,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50492,
    "c": 0.21912,
    "h": 312
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#8D28BC
secondary
#90CB75
accent
#E84075
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D28BC

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

Preview Lab → · Contrast checker → · Palette generator →

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