#9928AC#9928AC

#9928AC is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.210 H 321.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9928AC
RGBrgb(153, 40, 172)
HSLhsl(291, 62%, 42%)
HSVhsv(291, 77%, 67%)
CMYKcmyk(11%, 76.7%, 0%, 32.5%)
CIE-LABlab(40.03, 62.39, -46.72)
CIE-LCHlch(40.03, 77.94, 323.17°)
OKLaboklab(51.06% 0.1638 -0.1309)
OKLCHoklch(51.06% 0.21 321.4)
XYZxyz(21.3412, 11.2696, 40.0729)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9928AC #3BAC28
analogous
#5728AC #9928AC #AC287D
triadic
#9928AC #AC9928 #28AC99
tetradic
#9928AC #AC5728 #3BAC28 #287DAC
square
#9928AC #AC5728 #3BAC28 #287DAC
split-complementary
#9928AC #7DAC28 #28AC57
monochromatic
#411149 #6D1C7A #9928AC #BD3FD2 #CE71DE

Accessibility & contrast

On white

6.45
#9928AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9928AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9928AC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9928AC#FFFFFF#000000##FFFFFF
##9928AC1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#3962A9
Tritanopia (blue-blind)
#9A4369
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9928ac;
/* rgb */ color: rgb(153, 40, 172);
/* oklch */ color: oklch(51.1% 0.210 321.4);
Tailwind
colors: {
  custom: {
    50: '#bb6fc5',
    500: '#9928ac',
    950: '#000000',
  },
}
SCSS
$custom: #9928ac;
$custom-light: #bb6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9928ac",
  "rgb": {
    "r": 153,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 291.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5106,
    "c": 0.20965,
    "h": 321.4
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#9928AC
secondary
#78C56B
accent
#E5425A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9928AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9928AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva