#8D24BA#8D24BA

#8D24BA is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.221 H 312.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8D24BA
RGBrgb(141, 36, 186)
HSLhsl(282, 68%, 44%)
HSVhsv(282, 81%, 73%)
CMYKcmyk(24.2%, 80.6%, 0%, 27.1%)
CIE-LABlab(38.67, 64.08, -57.30)
CIE-LCHlch(38.67, 85.96, 318.20°)
OKLaboklab(50.03% 0.15 -0.1622)
OKLCHoklch(50.03% 0.221 312.8)
XYZxyz(20.4767, 10.4703, 47.3872)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D24BA #51BA24
analogous
#4224BA #8D24BA #BA249C
triadic
#8D24BA #BA8D24 #24BA8D
tetradic
#8D24BA #BA4224 #51BA24 #249CBA
square
#8D24BA #BA4224 #51BA24 #249CBA
split-complementary
#8D24BA #9CBA24 #24BA42
monochromatic
#3F1053 #661A87 #8D24BA #AC41DA #C374E4

Accessibility & contrast

On white

6.79
#8D24BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8D24BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D24BA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D24BA#FFFFFF#000000##FFFFFF
##8D24BA1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#045DB7
Tritanopia (blue-blind)
#884A70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d24ba;
/* rgb */ color: rgb(141, 36, 186);
/* oklch */ color: oklch(50.0% 0.221 312.8);
Tailwind
colors: {
  custom: {
    50: '#b36dd0',
    500: '#8d24ba',
    950: '#000000',
  },
}
SCSS
$custom: #8d24ba;
$custom-light: #b36dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d24ba",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 282,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.22098,
    "h": 312.8
  },
  "luminance": 0.1047
}

Semantic roles & 50–950 ramp

primary
#8D24BA
secondary
#8ACB6E
accent
#EA3D71
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8D24BA

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

Preview Lab → · Contrast checker → · Palette generator →

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