#9D24C7#9D24C7

#9D24C7 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.2% C 0.237 H 315.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9D24C7
RGBrgb(157, 36, 199)
HSLhsl(285, 69%, 46%)
HSVhsv(285, 82%, 78%)
CMYKcmyk(21.1%, 81.9%, 0%, 22%)
CIE-LABlab(42.08, 69.32, -59.27)
CIE-LCHlch(42.08, 91.21, 319.47°)
OKLaboklab(53.21% 0.1675 -0.1675)
OKLCHoklch(53.21% 0.237 315)
XYZxyz(24.8426, 12.5543, 55.1364)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D24C7 #4EC724
analogous
#4B24C7 #9D24C7 #C7249F
triadic
#9D24C7 #C79D24 #24C79D
tetradic
#9D24C7 #C74B24 #4EC724 #249FC7
square
#9D24C7 #C74B24 #4EC724 #249FC7
split-complementary
#9D24C7 #9FC724 #24C74B
monochromatic
#4B115F #741B93 #9D24C7 #B84ADE #CC7EE8

Accessibility & contrast

On white

5.98
#9D24C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9D24C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D24C7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D24C7#FFFFFF#000000##FFFFFF
##9D24C71.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#1766C4
Tritanopia (blue-blind)
#994D78
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d24c7;
/* rgb */ color: rgb(157, 36, 199);
/* oklch */ color: oklch(53.2% 0.237 315.0);
Tailwind
colors: {
  custom: {
    50: '#bf6fd9',
    500: '#9d24c7',
    950: '#000000',
  },
}
SCSS
$custom: #9d24c7;
$custom-light: #bf6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d24c7",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 199
  },
  "hsl": {
    "h": 284.54,
    "s": 69.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5321,
    "c": 0.23691,
    "h": 315
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#9D24C7
secondary
#8ED077
accent
#EC3C69
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9D24C7

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

Preview Lab → · Contrast checker → · Palette generator →

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