#8C24AC#8C24AC

#8C24AC is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.209 H 316.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8C24AC
RGBrgb(140, 36, 172)
HSLhsl(286, 65%, 41%)
HSVhsv(286, 79%, 67%)
CMYKcmyk(18.6%, 79.1%, 0%, 32.5%)
CIE-LABlab(37.51, 61.14, -50.88)
CIE-LCHlch(37.51, 79.55, 320.23°)
OKLaboklab(48.87% 0.1514 -0.1434)
OKLCHoklch(48.87% 0.209 316.6)
XYZxyz(18.8913, 9.8166, 39.9214)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C24AC #44AC24
analogous
#4824AC #8C24AC #AC2488
triadic
#8C24AC #AC8C24 #24AC8C
tetradic
#8C24AC #AC4824 #44AC24 #2488AC
square
#8C24AC #AC4824 #44AC24 #2488AC
split-complementary
#8C24AC #88AC24 #24AC48
monochromatic
#3A0F47 #631979 #8C24AC #B038D5 #C46AE0

Accessibility & contrast

On white

7.09
#8C24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8C24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C24AC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C24AC#FFFFFF#000000##FFFFFF
##8C24AC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#245BA9
Tritanopia (blue-blind)
#8A4368
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8c24ac;
/* rgb */ color: rgb(140, 36, 172);
/* oklch */ color: oklch(48.9% 0.209 316.6);
Tailwind
colors: {
  custom: {
    50: '#b26cc5',
    500: '#8c24ac',
    950: '#000000',
  },
}
SCSS
$custom: #8c24ac;
$custom-light: #b26cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c24ac",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 285.882,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48869,
    "c": 0.20859,
    "h": 316.6
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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