#8D24A8#8D24A8

#8D24A8 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.7% C 0.206 H 318.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D24A8
RGBrgb(141, 36, 168)
HSLhsl(288, 65%, 40%)
HSVhsv(288, 79%, 66%)
CMYKcmyk(16.1%, 78.6%, 0%, 34.1%)
CIE-LABlab(37.39, 60.57, -48.67)
CIE-LCHlch(37.39, 77.70, 321.21°)
OKLaboklab(48.73% 0.1533 -0.1369)
OKLCHoklch(48.73% 0.206 318.2)
XYZxyz(18.6823, 9.7525, 37.9365)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D24A8 #3FA824
analogous
#4B24A8 #8D24A8 #A82481
triadic
#8D24A8 #A88D24 #24A88D
tetradic
#8D24A8 #A84B24 #3FA824 #2481A8
square
#8D24A8 #A84B24 #3FA824 #2481A8
split-complementary
#8D24A8 #81A824 #24A84B
monochromatic
#380E43 #631976 #8D24A8 #B335D4 #C668DF

Accessibility & contrast

On white

7.12
#8D24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D24A8
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D24A8#FFFFFF#000000##FFFFFF
##8D24A81.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#2B5BA5
Tritanopia (blue-blind)
#8C4166
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d24a8;
/* rgb */ color: rgb(141, 36, 168);
/* oklch */ color: oklch(48.7% 0.206 318.2);
Tailwind
colors: {
  custom: {
    50: '#b26cc3',
    500: '#8d24a8',
    950: '#000000',
  },
}
SCSS
$custom: #8d24a8;
$custom-light: #b26cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d24a8",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 287.727,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.48731,
    "c": 0.20553,
    "h": 318.2
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#8D24A8
secondary
#77C463
accent
#E84062
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8D24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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