#9F24B0#9F24B0

#9F24B0 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.219 H 322.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9F24B0
RGBrgb(159, 36, 176)
HSLhsl(293, 66%, 42%)
HSVhsv(293, 80%, 69%)
CMYKcmyk(9.7%, 79.5%, 0%, 31%)
CIE-LABlab(40.85, 65.49, -47.74)
CIE-LCHlch(40.85, 81.04, 323.91°)
OKLaboklab(51.91% 0.1736 -0.1336)
OKLCHoklch(51.91% 0.219 322.4)
XYZxyz(22.7646, 11.7686, 42.1384)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F24B0 #35B024
analogous
#5924B0 #9F24B0 #B0247B
triadic
#9F24B0 #B09F24 #24B09F
tetradic
#9F24B0 #B05924 #35B024 #247BB0
square
#9F24B0 #B05924 #35B024 #247BB0
split-complementary
#9F24B0 #7BB024 #24B059
monochromatic
#430F4A #711A7D #9F24B0 #C43AD7 #D36DE1

Accessibility & contrast

On white

6.26
#9F24B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9F24B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F24B0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F24B0#FFFFFF#000000##FFFFFF
##9F24B01.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#3B65AD
Tritanopia (blue-blind)
#A1416B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f24b0;
/* rgb */ color: rgb(159, 36, 176);
/* oklch */ color: oklch(51.9% 0.219 322.4);
Tailwind
colors: {
  custom: {
    50: '#c06fc8',
    500: '#9f24b0',
    950: '#000000',
  },
}
SCSS
$custom: #9f24b0;
$custom-light: #c06fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f24b0",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 292.714,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.21905,
    "h": 322.4
  },
  "luminance": 0.11767
}

Semantic roles & 50–950 ramp

primary
#9F24B0
secondary
#74C868
accent
#E93F53
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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