#9C28B6#9C28B6

#9C28B6 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.219 H 319.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9C28B6
RGBrgb(156, 40, 182)
HSLhsl(289, 64%, 44%)
HSVhsv(289, 78%, 71%)
CMYKcmyk(14.3%, 78%, 0%, 28.6%)
CIE-LABlab(41.16, 64.80, -50.81)
CIE-LCHlch(41.16, 82.35, 321.90°)
OKLaboklab(52.16% 0.1662 -0.1427)
OKLCHoklch(52.16% 0.219 319.3)
XYZxyz(22.9115, 11.9641, 45.3494)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C28B6 #42B628
analogous
#5528B6 #9C28B6 #B62889
triadic
#9C28B6 #B69C28 #28B69C
tetradic
#9C28B6 #B65528 #42B628 #2889B6
square
#9C28B6 #B65528 #42B628 #2889B6
split-complementary
#9C28B6 #89B628 #28B655
monochromatic
#461252 #711D84 #9C28B6 #BC45D6 #CE77E1

Accessibility & contrast

On white

6.19
#9C28B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9C28B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C28B6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C28B6#FFFFFF#000000##FFFFFF
##9C28B61.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#3465B3
Tritanopia (blue-blind)
#9C476F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c28b6;
/* rgb */ color: rgb(156, 40, 182);
/* oklch */ color: oklch(52.2% 0.219 319.3);
Tailwind
colors: {
  custom: {
    50: '#bd70cd',
    500: '#9c28b6',
    950: '#000000',
  },
}
SCSS
$custom: #9c28b6;
$custom-light: #bd70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c28b6",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 289.014,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52159,
    "c": 0.21908,
    "h": 319.3
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#9C28B6
secondary
#81C971
accent
#E7415F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9C28B6

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

Preview Lab → · Contrast checker → · Palette generator →

#9C28B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva