#8C24AF#8C24AF

#8C24AF is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.211 H 315.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8C24AF
RGBrgb(140, 36, 175)
HSLhsl(285, 66%, 41%)
HSVhsv(285, 79%, 69%)
CMYKcmyk(20%, 79.4%, 0%, 31.4%)
CIE-LABlab(37.72, 61.73, -52.33)
CIE-LCHlch(37.72, 80.93, 319.71°)
OKLaboklab(49.08% 0.1509 -0.1477)
OKLCHoklch(49.08% 0.211 315.6)
XYZxyz(19.1827, 9.9331, 41.4559)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C24AF #47AF24
analogous
#4724AF #8C24AF #AF248D
triadic
#8C24AF #AF8C24 #24AF8C
tetradic
#8C24AF #AF4724 #47AF24 #248DAF
square
#8C24AF #AF4724 #47AF24 #248DAF
split-complementary
#8C24AF #8DAF24 #24AF47
monochromatic
#3B0F49 #631A7C #8C24AF #AF3AD6 #C46DE1

Accessibility & contrast

On white

7.03
#8C24AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8C24AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C24AF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C24AF#FFFFFF#000000##FFFFFF
##8C24AF1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#1F5BAC
Tritanopia (blue-blind)
#89456A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8c24af;
/* rgb */ color: rgb(140, 36, 175);
/* oklch */ color: oklch(49.1% 0.211 315.6);
Tailwind
colors: {
  custom: {
    50: '#b26cc8',
    500: '#8c24af',
    950: '#000000',
  },
}
SCSS
$custom: #8c24af;
$custom-light: #b26cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c24af",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 175
  },
  "hsl": {
    "h": 284.892,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49084,
    "c": 0.21116,
    "h": 315.6
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#8C24AF
secondary
#80C768
accent
#E93F6A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C24AF

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

Preview Lab → · Contrast checker → · Palette generator →

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