#8C24AE#8C24AE

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

Color values

HEX#8C24AE
RGBrgb(140, 36, 174)
HSLhsl(285, 66%, 41%)
HSVhsv(285, 79%, 68%)
CMYKcmyk(19.5%, 79.3%, 0%, 31.8%)
CIE-LABlab(37.65, 61.53, -51.85)
CIE-LCHlch(37.65, 80.47, 319.88°)
OKLaboklab(49.01% 0.1511 -0.1463)
OKLCHoklch(49.01% 0.21 315.9)
XYZxyz(19.0849, 9.8940, 40.9406)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C24AE #46AE24
analogous
#4724AE #8C24AE #AE248B
triadic
#8C24AE #AE8C24 #24AE8C
tetradic
#8C24AE #AE4724 #46AE24 #248BAE
square
#8C24AE #AE4724 #46AE24 #248BAE
split-complementary
#8C24AE #8BAE24 #24AE47
monochromatic
#3A0F49 #631A7B #8C24AE #AF39D6 #C46CE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C24AE#FFFFFF#000000##FFFFFF
##8C24AE1.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)
#0053B2
Deuteranopia (green-blind)
#215BAB
Tritanopia (blue-blind)
#8A4469
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8c24ae;
/* rgb */ color: rgb(140, 36, 174);
/* oklch */ color: oklch(49.0% 0.210 315.9);
Tailwind
colors: {
  custom: {
    50: '#b26cc7',
    500: '#8c24ae',
    950: '#000000',
  },
}
SCSS
$custom: #8c24ae;
$custom-light: #b26cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c24ae",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 285.217,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49012,
    "c": 0.2103,
    "h": 315.9
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#8C24AE
secondary
#7FC767
accent
#E93F69
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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