#8C24BD#8C24BD

#8C24BD is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.223 H 311.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8C24BD
RGBrgb(140, 36, 189)
HSLhsl(281, 68%, 44%)
HSVhsv(281, 81%, 74%)
CMYKcmyk(25.9%, 81%, 0%, 25.9%)
CIE-LABlab(38.75, 64.51, -58.95)
CIE-LCHlch(38.75, 87.39, 317.58°)
OKLaboklab(50.12% 0.148 -0.1671)
OKLCHoklch(50.12% 0.223 311.5)
XYZxyz(20.6297, 10.5119, 49.0765)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C24BD #55BD24
analogous
#3F24BD #8C24BD #BD24A2
triadic
#8C24BD #BD8C24 #24BD8C
tetradic
#8C24BD #BD3F24 #55BD24 #24A2BD
square
#8C24BD #BD3F24 #55BD24 #24A2BD
split-complementary
#8C24BD #A2BD24 #24BD3F
monochromatic
#401056 #661A8A #8C24BD #AA43DB #C276E5

Accessibility & contrast

On white

6.77
#8C24BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8C24BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C24BD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C24BD#FFFFFF#000000##FFFFFF
##8C24BD1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#864B72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8c24bd;
/* rgb */ color: rgb(140, 36, 189);
/* oklch */ color: oklch(50.1% 0.223 311.5);
Tailwind
colors: {
  custom: {
    50: '#b36dd2',
    500: '#8c24bd',
    950: '#000000',
  },
}
SCSS
$custom: #8c24bd;
$custom-light: #b36dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c24bd",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 280.784,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50124,
    "c": 0.22328,
    "h": 311.5
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

primary
#8C24BD
secondary
#8ECC70
accent
#EB3D75
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8C24BD

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

Preview Lab → · Contrast checker → · Palette generator →

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