#8C24A4#8C24A4

#8C24A4 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.202 H 319.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8C24A4
RGBrgb(140, 36, 164)
HSLhsl(289, 64%, 39%)
HSVhsv(289, 78%, 64%)
CMYKcmyk(14.6%, 78%, 0%, 35.7%)
CIE-LABlab(36.96, 59.61, -46.97)
CIE-LCHlch(36.96, 75.90, 321.76°)
OKLaboklab(48.31% 0.1526 -0.132)
OKLCHoklch(48.31% 0.202 319.1)
XYZxyz(18.1461, 9.5184, 35.9962)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C24A4 #3CA424
analogous
#4C24A4 #8C24A4 #A4247C
triadic
#8C24A4 #A48C24 #24A48C
tetradic
#8C24A4 #A44C24 #3CA424 #247CA4
square
#8C24A4 #A44C24 #3CA424 #247CA4
split-complementary
#8C24A4 #7CA424 #24A44C
monochromatic
#360E40 #611972 #8C24A4 #B433D2 #C765DD

Accessibility & contrast

On white

7.23
#8C24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8C24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C24A4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C24A4#FFFFFF#000000##FFFFFF
##8C24A41.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#2E5AA1
Tritanopia (blue-blind)
#8C4064
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8c24a4;
/* rgb */ color: rgb(140, 36, 164);
/* oklch */ color: oklch(48.3% 0.202 319.1);
Tailwind
colors: {
  custom: {
    50: '#b26bc0',
    500: '#8c24a4',
    950: '#000000',
  },
}
SCSS
$custom: #8c24a4;
$custom-light: #b26bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c24a4",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 288.75,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48309,
    "c": 0.20176,
    "h": 319.1
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#8C24A4
secondary
#73C361
accent
#E74160
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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