#8C24BA#8C24BA

#8C24BA is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.221 H 312.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8C24BA
RGBrgb(140, 36, 186)
HSLhsl(282, 68%, 44%)
HSVhsv(282, 81%, 73%)
CMYKcmyk(24.7%, 80.6%, 0%, 27.1%)
CIE-LABlab(38.52, 63.91, -57.55)
CIE-LCHlch(38.52, 86.00, 317.99°)
OKLaboklab(49.9% 0.1487 -0.163)
OKLCHoklch(49.9% 0.221 312.4)
XYZxyz(20.3074, 10.3830, 47.3792)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C24BA #52BA24
analogous
#4124BA #8C24BA #BA249D
triadic
#8C24BA #BA8C24 #24BA8C
tetradic
#8C24BA #BA4124 #52BA24 #249DBA
square
#8C24BA #BA4124 #52BA24 #249DBA
split-complementary
#8C24BA #9DBA24 #24BA41
monochromatic
#3F1053 #651A87 #8C24BA #AB41DA #C274E4

Accessibility & contrast

On white

6.83
#8C24BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8C24BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C24BA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C24BA#FFFFFF#000000##FFFFFF
##8C24BA1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c24ba;
/* rgb */ color: rgb(140, 36, 186);
/* oklch */ color: oklch(49.9% 0.221 312.4);
Tailwind
colors: {
  custom: {
    50: '#b36cd0',
    500: '#8c24ba',
    950: '#000000',
  },
}
SCSS
$custom: #8c24ba;
$custom-light: #b36cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c24ba",
  "rgb": {
    "r": 140,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 281.6,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.22067,
    "h": 312.4
  },
  "luminance": 0.10382
}

Semantic roles & 50–950 ramp

primary
#8C24BA
secondary
#8BCB6E
accent
#EA3D72
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8C24BA

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

Preview Lab → · Contrast checker → · Palette generator →

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