#9724B0#9724B0

#9724B0 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.216 H 319.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9724B0
RGBrgb(151, 36, 176)
HSLhsl(289, 66%, 42%)
HSVhsv(289, 80%, 69%)
CMYKcmyk(14.2%, 79.5%, 0%, 31%)
CIE-LABlab(39.54, 63.96, -49.90)
CIE-LCHlch(39.54, 81.13, 322.04°)
OKLaboklab(50.73% 0.1642 -0.1402)
OKLCHoklch(50.73% 0.216 319.5)
XYZxyz(21.2288, 10.9767, 42.0664)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9724B0 #3DB024
analogous
#5124B0 #9724B0 #B02483
triadic
#9724B0 #B09724 #24B097
tetradic
#9724B0 #B05124 #3DB024 #2483B0
square
#9724B0 #B05124 #3DB024 #2483B0
split-complementary
#9724B0 #83B024 #24B051
monochromatic
#400F4A #6B1A7D #9724B0 #BB3AD7 #CC6DE1

Accessibility & contrast

On white

6.57
#9724B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9724B0
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9724B0#FFFFFF#000000##FFFFFF
##9724B01.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#3061AD
Tritanopia (blue-blind)
#97436B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9724b0;
/* rgb */ color: rgb(151, 36, 176);
/* oklch */ color: oklch(50.7% 0.216 319.5);
Tailwind
colors: {
  custom: {
    50: '#ba6dc8',
    500: '#9724b0',
    950: '#000000',
  },
}
SCSS
$custom: #9724b0;
$custom-light: #ba6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9724b0",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 289.286,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50733,
    "c": 0.21595,
    "h": 319.5
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#9724B0
secondary
#79C868
accent
#E93F5D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9724B0

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

Preview Lab → · Contrast checker → · Palette generator →

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