#9B24A9#9B24A9

#9B24A9 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.212 H 323.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9B24A9
RGBrgb(155, 36, 169)
HSLhsl(294, 65%, 40%)
HSVhsv(294, 79%, 66%)
CMYKcmyk(8.3%, 78.7%, 0%, 33.7%)
CIE-LABlab(39.74, 63.48, -45.38)
CIE-LCHlch(39.74, 78.03, 324.44°)
OKLaboklab(50.86% 0.1697 -0.1268)
OKLCHoklch(50.86% 0.212 323.2)
XYZxyz(21.3092, 11.0962, 38.5478)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B24A9 #32A924
analogous
#5824A9 #9B24A9 #A92475
triadic
#9B24A9 #A99B24 #24A99B
tetradic
#9B24A9 #A95824 #32A924 #2475A9
square
#9B24A9 #A95824 #32A924 #2475A9
split-complementary
#9B24A9 #75A924 #24A958
monochromatic
#3E0F44 #6D1977 #9B24A9 #C436D4 #D268DF

Accessibility & contrast

On white

6.52
#9B24A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B24A9
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B24A9#FFFFFF#000000##FFFFFF
##9B24A91.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#3C62A6
Tritanopia (blue-blind)
#9D3F67
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b24a9;
/* rgb */ color: rgb(155, 36, 169);
/* oklch */ color: oklch(50.9% 0.212 323.2);
Tailwind
colors: {
  custom: {
    50: '#bc6ec3',
    500: '#9b24a9',
    950: '#000000',
  },
}
SCSS
$custom: #9b24a9;
$custom-light: #bc6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b24a9",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 293.684,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.21187,
    "h": 323.2
  },
  "luminance": 0.11095
}

Semantic roles & 50–950 ramp

primary
#9B24A9
secondary
#6EC564
accent
#E84052
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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