#9724B1#9724B1

#9724B1 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.217 H 319.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9724B1
RGBrgb(151, 36, 177)
HSLhsl(289, 66%, 42%)
HSVhsv(289, 80%, 69%)
CMYKcmyk(14.7%, 79.7%, 0%, 30.6%)
CIE-LABlab(39.61, 64.15, -50.39)
CIE-LCHlch(39.61, 81.57, 321.85°)
OKLaboklab(50.8% 0.1641 -0.1416)
OKLCHoklch(50.8% 0.217 319.2)
XYZxyz(21.3281, 11.0165, 42.5894)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9724B1 #3EB124
analogous
#5124B1 #9724B1 #B12485
triadic
#9724B1 #B19724 #24B197
tetradic
#9724B1 #B15124 #3EB124 #2485B1
square
#9724B1 #B15124 #3EB124 #2485B1
split-complementary
#9724B1 #85B124 #24B151
monochromatic
#400F4B #6C1A7E #9724B1 #BA3BD7 #CC6EE1

Accessibility & contrast

On white

6.56
#9724B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9724B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9724B1
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9724B1#FFFFFF#000000##FFFFFF
##9724B11.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#2F61AE
Tritanopia (blue-blind)
#97446B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9724b1;
/* rgb */ color: rgb(151, 36, 177);
/* oklch */ color: oklch(50.8% 0.217 319.2);
Tailwind
colors: {
  custom: {
    50: '#ba6dc9',
    500: '#9724b1',
    950: '#000000',
  },
}
SCSS
$custom: #9724b1;
$custom-light: #ba6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9724b1",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 288.936,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.21677,
    "h": 319.2
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#9724B1
secondary
#7AC869
accent
#E93F5E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9724B1

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

Preview Lab → · Contrast checker → · Palette generator →

#9724B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva