#8D24AC#8D24AC

#8D24AC is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.209 H 316.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8D24AC
RGBrgb(141, 36, 172)
HSLhsl(286, 65%, 41%)
HSVhsv(286, 79%, 67%)
CMYKcmyk(18%, 79.1%, 0%, 32.5%)
CIE-LABlab(37.67, 61.33, -50.62)
CIE-LCHlch(37.67, 79.52, 320.46°)
OKLaboklab(49.01% 0.1527 -0.1426)
OKLCHoklch(49.01% 0.209 316.9)
XYZxyz(19.0607, 9.9039, 39.9293)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D24AC #43AC24
analogous
#4924AC #8D24AC #AC2487
triadic
#8D24AC #AC8D24 #24AC8D
tetradic
#8D24AC #AC4924 #43AC24 #2487AC
square
#8D24AC #AC4924 #43AC24 #2487AC
split-complementary
#8D24AC #87AC24 #24AC49
monochromatic
#3A0F47 #641979 #8D24AC #B138D5 #C56AE0

Accessibility & contrast

On white

7.05
#8D24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D24AC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D24AC#FFFFFF#000000##FFFFFF
##8D24AC1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#265CA9
Tritanopia (blue-blind)
#8B4368
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d24ac;
/* rgb */ color: rgb(141, 36, 172);
/* oklch */ color: oklch(49.0% 0.209 316.9);
Tailwind
colors: {
  custom: {
    50: '#b36cc5',
    500: '#8d24ac',
    950: '#000000',
  },
}
SCSS
$custom: #8d24ac;
$custom-light: #b36cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d24ac",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 286.324,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49012,
    "c": 0.20894,
    "h": 316.9
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#8D24AC
secondary
#7CC666
accent
#E83F66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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