#9B24A8#9B24A8

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

Color values

HEX#9B24A8
RGBrgb(155, 36, 168)
HSLhsl(294, 65%, 40%)
HSVhsv(294, 79%, 66%)
CMYKcmyk(7.7%, 78.6%, 0%, 34.1%)
CIE-LABlab(39.68, 63.31, -44.88)
CIE-LCHlch(39.68, 77.60, 324.67°)
OKLaboklab(50.79% 0.1698 -0.1254)
OKLCHoklch(50.79% 0.211 323.6)
XYZxyz(21.2157, 11.0588, 38.0553)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B24A8 #31A824
analogous
#5924A8 #9B24A8 #A82473
triadic
#9B24A8 #A89B24 #24A89B
tetradic
#9B24A8 #A85924 #31A824 #2473A8
square
#9B24A8 #A85924 #31A824 #2473A8
split-complementary
#9B24A8 #73A824 #24A859
monochromatic
#3E0E43 #6D1976 #9B24A8 #C435D4 #D368DF

Accessibility & contrast

On white

6.54
#9B24A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9B24A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B24A8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B24A8#FFFFFF#000000##FFFFFF
##9B24A81.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#3D62A5
Tritanopia (blue-blind)
#9E3E66
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b24a8;
/* rgb */ color: rgb(155, 36, 168);
/* oklch */ color: oklch(50.8% 0.211 323.6);
Tailwind
colors: {
  custom: {
    50: '#bc6ec2',
    500: '#9b24a8',
    950: '#000000',
  },
}
SCSS
$custom: #9b24a8;
$custom-light: #bc6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b24a8",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 294.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.50794,
    "c": 0.21108,
    "h": 323.6
  },
  "luminance": 0.11057
}

Semantic roles & 50–950 ramp

primary
#9B24A8
secondary
#6DC463
accent
#E84051
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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