#8D28A0#8D28A0

#8D28A0 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.195 H 320.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8D28A0
RGBrgb(141, 40, 160)
HSLhsl(291, 60%, 39%)
HSVhsv(291, 75%, 63%)
CMYKcmyk(11.9%, 75%, 0%, 37.3%)
CIE-LABlab(37.33, 57.71, -43.96)
CIE-LCHlch(37.33, 72.55, 322.70°)
OKLaboklab(48.52% 0.1507 -0.1231)
OKLCHoklch(48.52% 0.195 320.7)
XYZxyz(18.0877, 9.7193, 34.1742)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28A0 #3BA028
analogous
#5128A0 #8D28A0 #A02877
triadic
#8D28A0 #A08D28 #28A08D
tetradic
#8D28A0 #A05128 #3BA028 #2877A0
square
#8D28A0 #A05128 #3BA028 #2877A0
split-complementary
#8D28A0 #77A028 #28A051
monochromatic
#37103E #621C6F #8D28A0 #B638CD #C869D9

Accessibility & contrast

On white

7.13
#8D28A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D28A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D28A0
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28A0#FFFFFF#000000##FFFFFF
##8D28A01.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#355B9D
Tritanopia (blue-blind)
#8E4062
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d28a0;
/* rgb */ color: rgb(141, 40, 160);
/* oklch */ color: oklch(48.5% 0.195 320.7);
Tailwind
colors: {
  custom: {
    50: '#b26dbd',
    500: '#8d28a0',
    950: '#000000',
  },
}
SCSS
$custom: #8d28a0;
$custom-light: #b26dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28a0",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 290.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.19459,
    "h": 320.7
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#8D28A0
secondary
#73C064
accent
#E3455E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D28A0

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

Preview Lab → · Contrast checker → · Palette generator →

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