#9724BB#9724BB

#9724BB is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.5% C 0.225 H 316.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9724BB
RGBrgb(151, 36, 187)
HSLhsl(286, 68%, 44%)
HSVhsv(286, 81%, 73%)
CMYKcmyk(19.3%, 80.7%, 0%, 26.7%)
CIE-LABlab(40.30, 66.02, -55.19)
CIE-LCHlch(40.30, 86.05, 320.11°)
OKLaboklab(51.5% 0.1625 -0.1557)
OKLCHoklch(51.5% 0.225 316.2)
XYZxyz(22.3616, 11.4298, 48.0323)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9724BB #48BB24
analogous
#4B24BB #9724BB #BB2493
triadic
#9724BB #BB9724 #24BB97
tetradic
#9724BB #BB4B24 #48BB24 #2493BB
square
#9724BB #BB4B24 #48BB24 #2493BB
split-complementary
#9724BB #93BB24 #24BB4B
monochromatic
#441054 #6E1A88 #9724BB #B642DB #CA75E4

Accessibility & contrast

On white

6.39
#9724BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9724BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9724BB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9724BB#FFFFFF#000000##FFFFFF
##9724BB1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#954871
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9724bb;
/* rgb */ color: rgb(151, 36, 187);
/* oklch */ color: oklch(51.5% 0.225 316.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ed0',
    500: '#9724bb',
    950: '#000000',
  },
}
SCSS
$custom: #9724bb;
$custom-light: #ba6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9724bb",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 285.695,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.22503,
    "h": 316.2
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

primary
#9724BB
secondary
#85CC6F
accent
#EB3D67
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9724BB

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

Preview Lab → · Contrast checker → · Palette generator →

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