#9724A7#9724A7

#9724A7 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.209 H 322.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9724A7
RGBrgb(151, 36, 167)
HSLhsl(293, 65%, 40%)
HSVhsv(293, 78%, 65%)
CMYKcmyk(9.6%, 78.4%, 0%, 34.5%)
CIE-LABlab(38.95, 62.34, -45.48)
CIE-LCHlch(38.95, 77.16, 323.88°)
OKLaboklab(50.13% 0.1653 -0.1273)
OKLCHoklch(50.13% 0.209 322.4)
XYZxyz(20.3677, 10.6323, 37.5311)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9724A7 #34A724
analogous
#5624A7 #9724A7 #A72475
triadic
#9724A7 #A79724 #24A797
tetradic
#9724A7 #A75624 #34A724 #2475A7
square
#9724A7 #A75624 #34A724 #2475A7
split-complementary
#9724A7 #75A724 #24A756
monochromatic
#3C0E42 #691975 #9724A7 #C035D3 #D067DE

Accessibility & contrast

On white

6.72
#9724A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9724A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9724A7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9724A7#FFFFFF#000000##FFFFFF
##9724A71.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#3960A4
Tritanopia (blue-blind)
#993F65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9724a7;
/* rgb */ color: rgb(151, 36, 167);
/* oklch */ color: oklch(50.1% 0.209 322.4);
Tailwind
colors: {
  custom: {
    50: '#ba6dc2',
    500: '#9724a7',
    950: '#000000',
  },
}
SCSS
$custom: #9724a7;
$custom-light: #ba6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9724a7",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 292.672,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.20862,
    "h": 322.4
  },
  "luminance": 0.10631
}

Semantic roles & 50–950 ramp

primary
#9724A7
secondary
#6FC463
accent
#E84055
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9724A7

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

Preview Lab → · Contrast checker → · Palette generator →

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