#9724A8#9724A8

#9724A8 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.209 H 322.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9724A8
RGBrgb(151, 36, 168)
HSLhsl(292, 65%, 40%)
HSVhsv(292, 79%, 66%)
CMYKcmyk(10.1%, 78.6%, 0%, 34.1%)
CIE-LABlab(39.02, 62.51, -45.98)
CIE-LCHlch(39.02, 77.60, 323.67°)
OKLaboklab(50.2% 0.1652 -0.1287)
OKLCHoklch(50.2% 0.209 322.1)
XYZxyz(20.4605, 10.6694, 38.0199)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9724A8 #35A824
analogous
#5524A8 #9724A8 #A82477
triadic
#9724A8 #A89724 #24A897
tetradic
#9724A8 #A85524 #35A824 #2477A8
square
#9724A8 #A85524 #35A824 #2477A8
split-complementary
#9724A8 #77A824 #24A855
monochromatic
#3C0E43 #6A1976 #9724A8 #BF35D4 #CF68DF

Accessibility & contrast

On white

6.70
#9724A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9724A8
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9724A8#FFFFFF#000000##FFFFFF
##9724A81.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#3860A5
Tritanopia (blue-blind)
#993F66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9724a8;
/* rgb */ color: rgb(151, 36, 168);
/* oklch */ color: oklch(50.2% 0.209 322.1);
Tailwind
colors: {
  custom: {
    50: '#ba6dc2',
    500: '#9724a8',
    950: '#000000',
  },
}
SCSS
$custom: #9724a8;
$custom-light: #ba6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9724a8",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 292.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.20943,
    "h": 322.1
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

primary
#9724A8
secondary
#70C463
accent
#E84056
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9724A8

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

Preview Lab → · Contrast checker → · Palette generator →

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