#8D24A6#8D24A6

#8D24A6 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.204 H 318.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8D24A6
RGBrgb(141, 36, 166)
HSLhsl(288, 64%, 40%)
HSVhsv(288, 78%, 65%)
CMYKcmyk(15.1%, 78.3%, 0%, 34.9%)
CIE-LABlab(37.26, 60.19, -47.69)
CIE-LCHlch(37.26, 76.79, 321.61°)
OKLaboklab(48.59% 0.1536 -0.134)
OKLCHoklch(48.59% 0.204 318.9)
XYZxyz(18.4974, 9.6786, 36.9628)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D24A6 #3DA624
analogous
#4C24A6 #8D24A6 #A6247E
triadic
#8D24A6 #A68D24 #24A68D
tetradic
#8D24A6 #A64C24 #3DA624 #247EA6
square
#8D24A6 #A64C24 #3DA624 #247EA6
split-complementary
#8D24A6 #7EA624 #24A64C
monochromatic
#380E41 #621974 #8D24A6 #B434D3 #C766DE

Accessibility & contrast

On white

7.15
#8D24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8D24A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D24A6
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D24A6#FFFFFF#000000##FFFFFF
##8D24A61.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#2D5BA3
Tritanopia (blue-blind)
#8D4065
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d24a6;
/* rgb */ color: rgb(141, 36, 166);
/* oklch */ color: oklch(48.6% 0.204 318.9);
Tailwind
colors: {
  custom: {
    50: '#b26cc1',
    500: '#8d24a6',
    950: '#000000',
  },
}
SCSS
$custom: #8d24a6;
$custom-light: #b26cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d24a6",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 288.462,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48592,
    "c": 0.20384,
    "h": 318.9
  },
  "luminance": 0.09678
}

Semantic roles & 50–950 ramp

primary
#8D24A6
secondary
#75C462
accent
#E74061
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8D24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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