#9F24A6#9F24A6

#9F24A6 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.211 H 325.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9F24A6
RGBrgb(159, 36, 166)
HSLhsl(297, 64%, 40%)
HSVhsv(297, 78%, 65%)
CMYKcmyk(4.2%, 78.3%, 0%, 34.9%)
CIE-LABlab(40.23, 63.77, -42.77)
CIE-LCHlch(40.23, 76.78, 326.15°)
OKLaboklab(51.27% 0.1744 -0.1191)
OKLCHoklch(51.27% 0.211 325.7)
XYZxyz(21.8114, 11.3873, 37.1182)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F24A6 #2BA624
analogous
#5E24A6 #9F24A6 #A6246C
triadic
#9F24A6 #A69F24 #24A69F
tetradic
#9F24A6 #A65E24 #2BA624 #246CA6
square
#9F24A6 #A65E24 #2BA624 #246CA6
split-complementary
#9F24A6 #6CA624 #24A65E
monochromatic
#3F0E41 #6F1974 #9F24A6 #CA34D3 #D766DE

Accessibility & contrast

On white

6.41
#9F24A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9F24A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F24A6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F24A6#FFFFFF#000000##FFFFFF
##9F24A61.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#4364A3
Tritanopia (blue-blind)
#A33C65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f24a6;
/* rgb */ color: rgb(159, 36, 166);
/* oklch */ color: oklch(51.3% 0.211 325.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ec1',
    500: '#9f24a6',
    950: '#000000',
  },
}
SCSS
$custom: #9f24a6;
$custom-light: #bf6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f24a6",
  "rgb": {
    "r": 159,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 296.769,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.21122,
    "h": 325.7
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#9F24A6
secondary
#67C462
accent
#E74049
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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