#9D24A8#9D24A8

#9D24A8 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.212 H 324.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9D24A8
RGBrgb(157, 36, 168)
HSLhsl(295, 65%, 40%)
HSVhsv(295, 79%, 66%)
CMYKcmyk(6.5%, 78.6%, 0%, 34.1%)
CIE-LABlab(40.01, 63.70, -44.33)
CIE-LCHlch(40.01, 77.61, 325.17°)
OKLaboklab(51.09% 0.1721 -0.1237)
OKLCHoklch(51.09% 0.212 324.3)
XYZxyz(21.6028, 11.2584, 38.0734)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D24A8 #2FA824
analogous
#5B24A8 #9D24A8 #A82471
triadic
#9D24A8 #A89D24 #24A89D
tetradic
#9D24A8 #A85B24 #2FA824 #2471A8
square
#9D24A8 #A85B24 #2FA824 #2471A8
split-complementary
#9D24A8 #71A824 #24A85B
monochromatic
#3F0E43 #6E1976 #9D24A8 #C735D4 #D568DF

Accessibility & contrast

On white

6.46
#9D24A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9D24A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D24A8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D24A8#FFFFFF#000000##FFFFFF
##9D24A81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#3F63A5
Tritanopia (blue-blind)
#A03E66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d24a8;
/* rgb */ color: rgb(157, 36, 168);
/* oklch */ color: oklch(51.1% 0.212 324.3);
Tailwind
colors: {
  custom: {
    50: '#be6ec2',
    500: '#9d24a8',
    950: '#000000',
  },
}
SCSS
$custom: #9d24a8;
$custom-light: #be6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d24a8",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 295,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.21191,
    "h": 324.3
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#9D24A8
secondary
#6BC463
accent
#E8404E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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