#9F24A5#9F24A5

#9F24A5 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.210 H 326.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9F24A5
RGBrgb(159, 36, 165)
HSLhsl(297, 64%, 39%)
HSVhsv(297, 78%, 65%)
CMYKcmyk(3.6%, 78.2%, 0%, 35.3%)
CIE-LABlab(40.17, 63.60, -42.27)
CIE-LCHlch(40.17, 76.36, 326.39°)
OKLaboklab(51.21% 0.1745 -0.1176)
OKLCHoklch(51.21% 0.21 326)
XYZxyz(21.7200, 11.3508, 36.6369)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F24A5 #2AA524
analogous
#5E24A5 #9F24A5 #A5246B
triadic
#9F24A5 #A59F24 #24A59F
tetradic
#9F24A5 #A55E24 #2AA524 #246BA5
square
#9F24A5 #A55E24 #2AA524 #246BA5
split-complementary
#9F24A5 #6BA524 #24A55E
monochromatic
#3E0E41 #6F1973 #9F24A5 #CB34D3 #D866DE

Accessibility & contrast

On white

6.42
#9F24A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9F24A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F24A5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F24A5#FFFFFF#000000##FFFFFF
##9F24A51.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#4364A2
Tritanopia (blue-blind)
#A33C64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f24a5;
/* rgb */ color: rgb(159, 36, 165);
/* oklch */ color: oklch(51.2% 0.210 326.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ec0',
    500: '#9f24a5',
    950: '#000000',
  },
}
SCSS
$custom: #9f24a5;
$custom-light: #bf6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f24a5",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 297.209,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51208,
    "c": 0.21044,
    "h": 326
  },
  "luminance": 0.11349
}

Semantic roles & 50–950 ramp

primary
#9F24A5
secondary
#66C362
accent
#E74148
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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