#9C24CB#9C24CB

#9C24CB is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.4% C 0.240 H 313.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9C24CB
RGBrgb(156, 36, 203)
HSLhsl(283, 70%, 47%)
HSVhsv(283, 82%, 80%)
CMYKcmyk(23.2%, 82.3%, 0%, 20.4%)
CIE-LABlab(42.22, 69.92, -61.38)
CIE-LCHlch(42.22, 93.04, 318.72°)
OKLaboklab(53.36% 0.1654 -0.1737)
OKLCHoklch(53.36% 0.24 313.6)
XYZxyz(25.1188, 12.6423, 57.6054)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C24CB #53CB24
analogous
#4924CB #9C24CB #CB24A6
triadic
#9C24CB #CB9C24 #24CB9C
tetradic
#9C24CB #CB4924 #53CB24 #24A6CB
square
#9C24CB #CB4924 #53CB24 #24A6CB
split-complementary
#9C24CB #A6CB24 #24CB49
monochromatic
#4C1263 #741B97 #9C24CB #B64DDF #CB81E9

Accessibility & contrast

On white

5.95
#9C24CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9C24CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C24CB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C24CB#FFFFFF#000000##FFFFFF
##9C24CB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0466C8
Tritanopia (blue-blind)
#974F7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c24cb;
/* rgb */ color: rgb(156, 36, 203);
/* oklch */ color: oklch(53.4% 0.240 313.6);
Tailwind
colors: {
  custom: {
    50: '#be6fdc',
    500: '#9c24cb',
    950: '#000000',
  },
}
SCSS
$custom: #9c24cb;
$custom-light: #be6fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c24cb",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 203
  },
  "hsl": {
    "h": 283.114,
    "s": 69.874,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.23989,
    "h": 313.6
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#9C24CB
secondary
#92D17A
accent
#ED3B6D
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9C24CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9C24CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva