#8D24B4#8D24B4

#8D24B4 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.216 H 314.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8D24B4
RGBrgb(141, 36, 180)
HSLhsl(284, 67%, 42%)
HSVhsv(284, 80%, 71%)
CMYKcmyk(21.7%, 80%, 0%, 29.4%)
CIE-LABlab(38.24, 62.89, -54.46)
CIE-LCHlch(38.24, 83.19, 319.11°)
OKLaboklab(49.59% 0.1513 -0.1539)
OKLCHoklch(49.59% 0.216 314.5)
XYZxyz(19.8522, 10.2205, 44.0982)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D24B4 #4BB424
analogous
#4524B4 #8D24B4 #B42493
triadic
#8D24B4 #B48D24 #24B48D
tetradic
#8D24B4 #B44524 #4BB424 #2493B4
square
#8D24B4 #B44524 #4BB424 #2493B4
split-complementary
#8D24B4 #93B424 #24B445
monochromatic
#3D104E #651A81 #8D24B4 #AE3DD8 #C370E2

Accessibility & contrast

On white

6.90
#8D24B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D24B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D24B4
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D24B4#FFFFFF#000000##FFFFFF
##8D24B41.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#185CB1
Tritanopia (blue-blind)
#89476D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d24b4;
/* rgb */ color: rgb(141, 36, 180);
/* oklch */ color: oklch(49.6% 0.216 314.5);
Tailwind
colors: {
  custom: {
    50: '#b36ccb',
    500: '#8d24b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d24b4;
$custom-light: #b36ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d24b4",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 283.75,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.2158,
    "h": 314.5
  },
  "luminance": 0.1022
}

Semantic roles & 50–950 ramp

primary
#8D24B4
secondary
#84C96B
accent
#EA3E6D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #8D24B4

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

Preview Lab → · Contrast checker → · Palette generator →

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