#8D28A1#8D28A1

#8D28A1 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.195 H 320.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D28A1
RGBrgb(141, 40, 161)
HSLhsl(290, 60%, 39%)
HSVhsv(290, 75%, 63%)
CMYKcmyk(12.4%, 75.2%, 0%, 36.9%)
CIE-LABlab(37.40, 57.90, -44.46)
CIE-LCHlch(37.40, 73.00, 322.48°)
OKLaboklab(48.59% 0.1506 -0.1246)
OKLCHoklch(48.59% 0.195 320.4)
XYZxyz(18.1755, 9.7545, 34.6367)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28A1 #3CA128
analogous
#5128A1 #8D28A1 #A12879
triadic
#8D28A1 #A18D28 #28A18D
tetradic
#8D28A1 #A15128 #3CA128 #2879A1
square
#8D28A1 #A15128 #3CA128 #2879A1
split-complementary
#8D28A1 #79A128 #28A151
monochromatic
#37103F #621C70 #8D28A1 #B539CE #C76ADA

Accessibility & contrast

On white

7.12
#8D28A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D28A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D28A1
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28A1#FFFFFF#000000##FFFFFF
##8D28A11.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#345B9E
Tritanopia (blue-blind)
#8E4063
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d28a1;
/* rgb */ color: rgb(141, 40, 161);
/* oklch */ color: oklch(48.6% 0.195 320.4);
Tailwind
colors: {
  custom: {
    50: '#b26dbd',
    500: '#8d28a1',
    950: '#000000',
  },
}
SCSS
$custom: #8d28a1;
$custom-light: #b26dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28a1",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 290.083,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.19545,
    "h": 320.4
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#8D28A1
secondary
#74C065
accent
#E3445F
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D28A1

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

Preview Lab → · Contrast checker → · Palette generator →

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