#9928C9#9928C9

#9928C9 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.1% C 0.234 H 312.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9928C9
RGBrgb(153, 40, 201)
HSLhsl(282, 67%, 47%)
HSVhsv(282, 80%, 79%)
CMYKcmyk(23.9%, 80.1%, 0%, 21.2%)
CIE-LABlab(42.01, 67.88, -60.58)
CIE-LCHlch(42.01, 90.98, 318.26°)
OKLaboklab(53.08% 0.1593 -0.1715)
OKLCHoklch(53.08% 0.234 312.9)
XYZxyz(24.4364, 12.5077, 56.3740)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9928C9 #58C928
analogous
#4928C9 #9928C9 #C928A8
triadic
#9928C9 #C99928 #28C999
tetradic
#9928C9 #C94928 #58C928 #28A8C9
square
#9928C9 #C94928 #58C928 #28A8C9
split-complementary
#9928C9 #A8C928 #28C949
monochromatic
#4B1463 #721E96 #9928C9 #B352DD #C985E7

Accessibility & contrast

On white

6.00
#9928C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9928C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9928C9
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9928C9#FFFFFF#000000##FFFFFF
##9928C91.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0765C6
Tritanopia (blue-blind)
#93507A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9928c9;
/* rgb */ color: rgb(153, 40, 201);
/* oklch */ color: oklch(53.1% 0.234 312.9);
Tailwind
colors: {
  custom: {
    50: '#bc70da',
    500: '#9928c9',
    950: '#000000',
  },
}
SCSS
$custom: #9928c9;
$custom-light: #bc70da;
$custom-dark: #000000;
JSON
{
  "hex": "#9928c9",
  "rgb": {
    "r": 153,
    "g": 40,
    "b": 201
  },
  "hsl": {
    "h": 282.112,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.23404,
    "h": 312.9
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#9928C9
secondary
#96D07D
accent
#EA3E71
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9928C9

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

Preview Lab → · Contrast checker → · Palette generator →

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