#9F24C7#9F24C7

#9F24C7 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.5% C 0.238 H 315.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9F24C7
RGBrgb(159, 36, 199)
HSLhsl(285, 69%, 46%)
HSVhsv(285, 82%, 78%)
CMYKcmyk(20.1%, 81.9%, 0%, 22%)
CIE-LABlab(42.40, 69.66, -58.75)
CIE-LCHlch(42.40, 91.13, 319.86°)
OKLaboklab(53.49% 0.17 -0.1659)
OKLCHoklch(53.49% 0.238 315.7)
XYZxyz(25.2361, 12.7572, 55.1548)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F24C7 #4CC724
analogous
#4D24C7 #9F24C7 #C7249D
triadic
#9F24C7 #C79F24 #24C79F
tetradic
#9F24C7 #C74D24 #4CC724 #249DC7
square
#9F24C7 #C74D24 #4CC724 #249DC7
split-complementary
#9F24C7 #9DC724 #24C74D
monochromatic
#4C115F #761B93 #9F24C7 #BA4ADE #CE7EE8

Accessibility & contrast

On white

5.91
#9F24C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9F24C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F24C7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F24C7#FFFFFF#000000##FFFFFF
##9F24C71.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#1D67C4
Tritanopia (blue-blind)
#9C4D78
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9f24c7;
/* rgb */ color: rgb(159, 36, 199);
/* oklch */ color: oklch(53.5% 0.238 315.7);
Tailwind
colors: {
  custom: {
    50: '#c070d9',
    500: '#9f24c7',
    950: '#000000',
  },
}
SCSS
$custom: #9f24c7;
$custom-light: #c070d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f24c7",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 199
  },
  "hsl": {
    "h": 285.276,
    "s": 69.362,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.23754,
    "h": 315.7
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#9F24C7
secondary
#8DD077
accent
#EC3C67
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9F24C7

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

Preview Lab → · Contrast checker → · Palette generator →

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