#8D28AA#8D28AA

#8D28AA is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.203 H 317.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8D28AA
RGBrgb(141, 40, 170)
HSLhsl(287, 62%, 41%)
HSVhsv(287, 76%, 67%)
CMYKcmyk(17.1%, 76.5%, 0%, 33.3%)
CIE-LABlab(37.99, 59.62, -48.91)
CIE-LCHlch(37.99, 77.11, 320.64°)
OKLaboklab(49.2% 0.1496 -0.1376)
OKLCHoklch(49.2% 0.203 317.4)
XYZxyz(18.9979, 10.0834, 38.9680)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28AA #45AA28
analogous
#4C28AA #8D28AA #AA2886
triadic
#8D28AA #AA8D28 #28AA8D
tetradic
#8D28AA #AA4C28 #45AA28 #2886AA
square
#8D28AA #AA4C28 #45AA28 #2886AA
split-complementary
#8D28AA #86AA28 #28AA4C
monochromatic
#3B1147 #641C78 #8D28AA #B13ED2 #C56FDD

Accessibility & contrast

On white

6.96
#8D28AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D28AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D28AA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28AA#FFFFFF#000000##FFFFFF
##8D28AA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#2B5CA7
Tritanopia (blue-blind)
#8C4468
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d28aa;
/* rgb */ color: rgb(141, 40, 170);
/* oklch */ color: oklch(49.2% 0.203 317.4);
Tailwind
colors: {
  custom: {
    50: '#b26dc4',
    500: '#8d28aa',
    950: '#000000',
  },
}
SCSS
$custom: #8d28aa;
$custom-light: #b26dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28aa",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 286.615,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49196,
    "c": 0.20326,
    "h": 317.4
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#8D28AA
secondary
#7EC46A
accent
#E54367
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D28AA

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

Preview Lab → · Contrast checker → · Palette generator →

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