#9B24B1#9B24B1

#9B24B1 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.218 H 320.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9B24B1
RGBrgb(155, 36, 177)
HSLhsl(291, 66%, 42%)
HSVhsv(291, 80%, 69%)
CMYKcmyk(12.4%, 79.7%, 0%, 30.6%)
CIE-LABlab(40.26, 64.90, -49.31)
CIE-LCHlch(40.26, 81.51, 322.77°)
OKLaboklab(51.39% 0.1688 -0.1384)
OKLCHoklch(51.39% 0.218 320.7)
XYZxyz(22.0833, 11.4058, 42.6248)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B24B1 #3AB124
analogous
#5424B1 #9B24B1 #B12481
triadic
#9B24B1 #B19B24 #24B19B
tetradic
#9B24B1 #B15424 #3AB124 #2481B1
square
#9B24B1 #B15424 #3AB124 #2481B1
split-complementary
#9B24B1 #81B124 #24B154
monochromatic
#420F4B #6E1A7E #9B24B1 #BF3BD7 #CF6EE1

Accessibility & contrast

On white

6.40
#9B24B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9B24B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B24B1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B24B1#FFFFFF#000000##FFFFFF
##9B24B11.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#3563AE
Tritanopia (blue-blind)
#9C436B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b24b1;
/* rgb */ color: rgb(155, 36, 177);
/* oklch */ color: oklch(51.4% 0.218 320.7);
Tailwind
colors: {
  custom: {
    50: '#bd6ec9',
    500: '#9b24b1',
    950: '#000000',
  },
}
SCSS
$custom: #9b24b1;
$custom-light: #bd6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b24b1",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 290.638,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.21828,
    "h": 320.7
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#9B24B1
secondary
#78C869
accent
#E93F59
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9B24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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