#9B24A6#9B24A6

#9B24A6 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.209 H 324.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9B24A6
RGBrgb(155, 36, 166)
HSLhsl(295, 64%, 40%)
HSVhsv(295, 78%, 65%)
CMYKcmyk(6.6%, 78.3%, 0%, 34.9%)
CIE-LABlab(39.55, 62.96, -43.88)
CIE-LCHlch(39.55, 76.74, 325.12°)
OKLaboklab(50.67% 0.17 -0.1225)
OKLCHoklch(50.67% 0.209 324.2)
XYZxyz(21.0308, 10.9848, 37.0816)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B24A6 #2FA624
analogous
#5A24A6 #9B24A6 #A62470
triadic
#9B24A6 #A69B24 #24A69B
tetradic
#9B24A6 #A65A24 #2FA624 #2470A6
square
#9B24A6 #A65A24 #2FA624 #2470A6
split-complementary
#9B24A6 #70A624 #24A65A
monochromatic
#3D0E41 #6C1974 #9B24A6 #C634D3 #D466DE

Accessibility & contrast

On white

6.57
#9B24A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9B24A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B24A6
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B24A6#FFFFFF#000000##FFFFFF
##9B24A61.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#9E3D65
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b24a6;
/* rgb */ color: rgb(155, 36, 166);
/* oklch */ color: oklch(50.7% 0.209 324.2);
Tailwind
colors: {
  custom: {
    50: '#bc6dc1',
    500: '#9b24a6',
    950: '#000000',
  },
}
SCSS
$custom: #9b24a6;
$custom-light: #bc6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b24a6",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 294.923,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50666,
    "c": 0.20949,
    "h": 324.2
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#9B24A6
secondary
#6AC462
accent
#E7404F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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