#8D24A7#8D24A7

#8D24A7 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.205 H 318.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8D24A7
RGBrgb(141, 36, 167)
HSLhsl(288, 65%, 40%)
HSVhsv(288, 78%, 65%)
CMYKcmyk(15.6%, 78.4%, 0%, 34.5%)
CIE-LABlab(37.33, 60.38, -48.18)
CIE-LCHlch(37.33, 77.25, 321.41°)
OKLaboklab(48.66% 0.1534 -0.1355)
OKLCHoklch(48.66% 0.205 318.6)
XYZxyz(18.5895, 9.7154, 37.4478)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D24A7 #3EA724
analogous
#4C24A7 #8D24A7 #A7247F
triadic
#8D24A7 #A78D24 #24A78D
tetradic
#8D24A7 #A74C24 #3EA724 #247FA7
square
#8D24A7 #A74C24 #3EA724 #247FA7
split-complementary
#8D24A7 #7FA724 #24A74C
monochromatic
#380E42 #621975 #8D24A7 #B435D3 #C767DE

Accessibility & contrast

On white

7.14
#8D24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D24A7
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D24A7#FFFFFF#000000##FFFFFF
##8D24A71.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#2C5BA4
Tritanopia (blue-blind)
#8C4165
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d24a7;
/* rgb */ color: rgb(141, 36, 167);
/* oklch */ color: oklch(48.7% 0.205 318.6);
Tailwind
colors: {
  custom: {
    50: '#b26cc2',
    500: '#8d24a7',
    950: '#000000',
  },
}
SCSS
$custom: #8d24a7;
$custom-light: #b26cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d24a7",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 288.092,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48662,
    "c": 0.20468,
    "h": 318.6
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

primary
#8D24A7
secondary
#76C463
accent
#E84061
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8D24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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