#9D24A9#9D24A9

#9D24A9 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.213 H 324.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9D24A9
RGBrgb(157, 36, 169)
HSLhsl(295, 65%, 40%)
HSVhsv(295, 79%, 66%)
CMYKcmyk(7.1%, 78.7%, 0%, 33.7%)
CIE-LABlab(40.07, 63.88, -44.83)
CIE-LCHlch(40.07, 78.04, 324.94°)
OKLaboklab(51.16% 0.172 -0.1252)
OKLCHoklch(51.16% 0.213 324)
XYZxyz(21.6963, 11.2958, 38.5660)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D24A9 #30A924
analogous
#5A24A9 #9D24A9 #A92473
triadic
#9D24A9 #A99D24 #24A99D
tetradic
#9D24A9 #A95A24 #30A924 #2473A9
square
#9D24A9 #A95A24 #30A924 #2473A9
split-complementary
#9D24A9 #73A924 #24A95A
monochromatic
#3F0F44 #6E1977 #9D24A9 #C636D4 #D468DF

Accessibility & contrast

On white

6.44
#9D24A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9D24A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D24A9
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D24A9#FFFFFF#000000##FFFFFF
##9D24A91.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#3E63A6
Tritanopia (blue-blind)
#A03E67
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d24a9;
/* rgb */ color: rgb(157, 36, 169);
/* oklch */ color: oklch(51.2% 0.213 324.0);
Tailwind
colors: {
  custom: {
    50: '#be6ec3',
    500: '#9d24a9',
    950: '#000000',
  },
}
SCSS
$custom: #9d24a9;
$custom-light: #be6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d24a9",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 294.586,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.2127,
    "h": 324
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

primary
#9D24A9
secondary
#6DC564
accent
#E8404F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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