#9F24A9#9F24A9

#9F24A9 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.214 H 324.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9F24A9
RGBrgb(159, 36, 169)
HSLhsl(295, 65%, 40%)
HSVhsv(295, 79%, 66%)
CMYKcmyk(5.9%, 78.7%, 0%, 33.7%)
CIE-LABlab(40.41, 64.27, -44.27)
CIE-LCHlch(40.41, 78.05, 325.44°)
OKLaboklab(51.46% 0.1742 -0.1235)
OKLCHoklch(51.46% 0.214 324.7)
XYZxyz(22.0898, 11.4987, 38.5844)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F24A9 #2EA924
analogous
#5D24A9 #9F24A9 #A92470
triadic
#9F24A9 #A99F24 #24A99F
tetradic
#9F24A9 #A95D24 #2EA924 #2470A9
square
#9F24A9 #A95D24 #2EA924 #2470A9
split-complementary
#9F24A9 #70A924 #24A95D
monochromatic
#400F44 #701977 #9F24A9 #C836D4 #D668DF

Accessibility & contrast

On white

6.36
#9F24A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9F24A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F24A9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F24A9#FFFFFF#000000##FFFFFF
##9F24A91.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#4164A6
Tritanopia (blue-blind)
#A23E67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f24a9;
/* rgb */ color: rgb(159, 36, 169);
/* oklch */ color: oklch(51.5% 0.214 324.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ec3',
    500: '#9f24a9',
    950: '#000000',
  },
}
SCSS
$custom: #9f24a9;
$custom-light: #bf6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f24a9",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 295.489,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.21354,
    "h": 324.7
  },
  "luminance": 0.11497
}

Semantic roles & 50–950 ramp

primary
#9F24A9
secondary
#6BC564
accent
#E8404D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9F24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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