#9F24CA#9F24CA

#9F24CA is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.7% C 0.240 H 314.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9F24CA
RGBrgb(159, 36, 202)
HSLhsl(284, 70%, 47%)
HSVhsv(284, 82%, 79%)
CMYKcmyk(21.3%, 82.2%, 0%, 20.8%)
CIE-LABlab(42.61, 70.23, -60.15)
CIE-LCHlch(42.61, 92.46, 319.42°)
OKLaboklab(53.71% 0.1694 -0.17)
OKLCHoklch(53.71% 0.24 314.9)
XYZxyz(25.5878, 12.8979, 57.0073)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F24CA #4FCA24
analogous
#4C24CA #9F24CA #CA24A2
triadic
#9F24CA #CA9F24 #24CA9F
tetradic
#9F24CA #CA4C24 #4FCA24 #24A2CA
square
#9F24CA #CA4C24 #4FCA24 #24A2CA
split-complementary
#9F24CA #A2CA24 #24CA4C
monochromatic
#4D1162 #761B96 #9F24CA #B94CDF #CD80E8

Accessibility & contrast

On white

5.87
#9F24CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9F24CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F24CA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F24CA#FFFFFF#000000##FFFFFF
##9F24CA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#1667C7
Tritanopia (blue-blind)
#9B4E7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f24ca;
/* rgb */ color: rgb(159, 36, 202);
/* oklch */ color: oklch(53.7% 0.240 314.9);
Tailwind
colors: {
  custom: {
    50: '#c070db',
    500: '#9f24ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f24ca;
$custom-light: #c070db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f24ca",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 202
  },
  "hsl": {
    "h": 284.458,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53706,
    "c": 0.23999,
    "h": 314.9
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#9F24CA
secondary
#90D179
accent
#ED3B69
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F24CA

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

Preview Lab → · Contrast checker → · Palette generator →

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