#9C24A6#9C24A6

#9C24A6 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.210 H 324.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9C24A6
RGBrgb(156, 36, 166)
HSLhsl(295, 64%, 40%)
HSVhsv(295, 78%, 65%)
CMYKcmyk(6%, 78.3%, 0%, 34.9%)
CIE-LABlab(39.72, 63.16, -43.61)
CIE-LCHlch(39.72, 76.75, 325.38°)
OKLaboklab(50.82% 0.1711 -0.1216)
OKLCHoklch(50.82% 0.21 324.6)
XYZxyz(21.2236, 11.0842, 37.0906)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C24A6 #2EA624
analogous
#5B24A6 #9C24A6 #A6246F
triadic
#9C24A6 #A69C24 #24A69C
tetradic
#9C24A6 #A65B24 #2EA624 #246FA6
square
#9C24A6 #A65B24 #2EA624 #246FA6
split-complementary
#9C24A6 #6FA624 #24A65B
monochromatic
#3D0E41 #6D1974 #9C24A6 #C734D3 #D566DE

Accessibility & contrast

On white

6.53
#9C24A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9C24A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C24A6
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C24A6#FFFFFF#000000##FFFFFF
##9C24A61.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#3F62A3
Tritanopia (blue-blind)
#9F3D65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c24a6;
/* rgb */ color: rgb(156, 36, 166);
/* oklch */ color: oklch(50.8% 0.210 324.6);
Tailwind
colors: {
  custom: {
    50: '#bd6ec1',
    500: '#9c24a6',
    950: '#000000',
  },
}
SCSS
$custom: #9c24a6;
$custom-light: #bd6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c24a6",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 295.385,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50816,
    "c": 0.20992,
    "h": 324.6
  },
  "luminance": 0.11083
}

Semantic roles & 50–950 ramp

primary
#9C24A6
secondary
#6AC462
accent
#E7404D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9C24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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