#9D24A6#9D24A6

#9D24A6 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.210 H 324.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9D24A6
RGBrgb(157, 36, 166)
HSLhsl(296, 64%, 40%)
HSVhsv(296, 78%, 65%)
CMYKcmyk(5.4%, 78.3%, 0%, 34.9%)
CIE-LABlab(39.89, 63.36, -43.33)
CIE-LCHlch(39.89, 76.76, 325.63°)
OKLaboklab(50.97% 0.1722 -0.1208)
OKLCHoklch(50.97% 0.21 324.9)
XYZxyz(21.4179, 11.1844, 37.0997)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D24A6 #2DA624
analogous
#5C24A6 #9D24A6 #A6246E
triadic
#9D24A6 #A69D24 #24A69D
tetradic
#9D24A6 #A65C24 #2DA624 #246EA6
square
#9D24A6 #A65C24 #2DA624 #246EA6
split-complementary
#9D24A6 #6EA624 #24A65C
monochromatic
#3E0E41 #6D1974 #9D24A6 #C834D3 #D666DE

Accessibility & contrast

On white

6.49
#9D24A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9D24A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D24A6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D24A6#FFFFFF#000000##FFFFFF
##9D24A61.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#A03D65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d24a6;
/* rgb */ color: rgb(157, 36, 166);
/* oklch */ color: oklch(51.0% 0.210 324.9);
Tailwind
colors: {
  custom: {
    50: '#be6ec1',
    500: '#9d24a6',
    950: '#000000',
  },
}
SCSS
$custom: #9d24a6;
$custom-light: #be6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d24a6",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 295.846,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.21035,
    "h": 324.9
  },
  "luminance": 0.11183
}

Semantic roles & 50–950 ramp

primary
#9D24A6
secondary
#69C462
accent
#E7404C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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