#9F24BC#9F24BC

#9F24BC is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.229 H 318.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9F24BC
RGBrgb(159, 36, 188)
HSLhsl(289, 68%, 44%)
HSVhsv(289, 81%, 74%)
CMYKcmyk(15.4%, 80.9%, 0%, 26.3%)
CIE-LABlab(41.63, 67.63, -53.55)
CIE-LCHlch(41.63, 86.26, 321.63°)
OKLaboklab(52.71% 0.172 -0.1507)
OKLCHoklch(52.71% 0.229 318.8)
XYZxyz(24.0048, 12.2647, 48.6701)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F24BC #41BC24
analogous
#5324BC #9F24BC #BC248D
triadic
#9F24BC #BC9F24 #24BC9F
tetradic
#9F24BC #BC5324 #41BC24 #248DBC
square
#9F24BC #BC5324 #41BC24 #248DBC
split-complementary
#9F24BC #8DBC24 #24BC53
monochromatic
#481055 #741A89 #9F24BC #BE42DB #D076E5

Accessibility & contrast

On white

6.08
#9F24BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9F24BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F24BC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F24BC#FFFFFF#000000##FFFFFF
##9F24BC1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#9E4771
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f24bc;
/* rgb */ color: rgb(159, 36, 188);
/* oklch */ color: oklch(52.7% 0.229 318.8);
Tailwind
colors: {
  custom: {
    50: '#c06fd1',
    500: '#9f24bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f24bc;
$custom-light: #c06fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f24bc",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 288.553,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52714,
    "c": 0.22863,
    "h": 318.8
  },
  "luminance": 0.12264
}

Semantic roles & 50–950 ramp

primary
#9F24BC
secondary
#81CC70
accent
#EB3D5E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9F24BC

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

Preview Lab → · Contrast checker → · Palette generator →

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