#9A24BB#9A24BB

#9A24BB is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.9% C 0.226 H 317.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9A24BB
RGBrgb(154, 36, 187)
HSLhsl(287, 68%, 44%)
HSVhsv(287, 81%, 73%)
CMYKcmyk(17.6%, 80.7%, 0%, 26.7%)
CIE-LABlab(40.77, 66.55, -54.40)
CIE-LCHlch(40.77, 85.95, 320.74°)
OKLaboklab(51.93% 0.1661 -0.1533)
OKLCHoklch(51.93% 0.226 317.3)
XYZxyz(22.9256, 11.7207, 48.0588)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A24BB #45BB24
analogous
#4E24BB #9A24BB #BB2490
triadic
#9A24BB #BB9A24 #24BB9A
tetradic
#9A24BB #BB4E24 #45BB24 #2490BB
square
#9A24BB #BB4E24 #45BB24 #2490BB
split-complementary
#9A24BB #90BB24 #24BB4E
monochromatic
#451054 #701A88 #9A24BB #B942DB #CC75E4

Accessibility & contrast

On white

6.28
#9A24BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9A24BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A24BB
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A24BB#FFFFFF#000000##FFFFFF
##9A24BB1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#2763B8
Tritanopia (blue-blind)
#984871
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a24bb;
/* rgb */ color: rgb(154, 36, 187);
/* oklch */ color: oklch(51.9% 0.226 317.3);
Tailwind
colors: {
  custom: {
    50: '#bc6ed0',
    500: '#9a24bb',
    950: '#000000',
  },
}
SCSS
$custom: #9a24bb;
$custom-light: #bc6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a24bb",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 286.887,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.22606,
    "h": 317.3
  },
  "luminance": 0.1172
}

Semantic roles & 50–950 ramp

primary
#9A24BB
secondary
#83CC6F
accent
#EB3D63
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9A24BB

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

Preview Lab → · Contrast checker → · Palette generator →

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