#9C28BC#9C28BC

#9C28BC is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.6% C 0.224 H 317.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9C28BC
RGBrgb(156, 40, 188)
HSLhsl(287, 65%, 45%)
HSVhsv(287, 79%, 74%)
CMYKcmyk(17%, 78.7%, 0%, 26.3%)
CIE-LABlab(41.56, 65.92, -53.70)
CIE-LCHlch(41.56, 85.02, 320.83°)
OKLaboklab(52.57% 0.1654 -0.1512)
OKLCHoklch(52.57% 0.224 317.6)
XYZxyz(23.5449, 12.2174, 48.6852)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C28BC #48BC28
analogous
#5228BC #9C28BC #BC2892
triadic
#9C28BC #BC9C28 #28BC9C
tetradic
#9C28BC #BC5228 #48BC28 #2892BC
square
#9C28BC #BC5228 #48BC28 #2892BC
split-complementary
#9C28BC #92BC28 #28BC52
monochromatic
#481357 #721D8A #9C28BC #B949D8 #CD7BE3

Accessibility & contrast

On white

6.10
#9C28BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9C28BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C28BC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C28BC#FFFFFF#000000##FFFFFF
##9C28BC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#2D65B9
Tritanopia (blue-blind)
#9B4A72
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c28bc;
/* rgb */ color: rgb(156, 40, 188);
/* oklch */ color: oklch(52.6% 0.224 317.6);
Tailwind
colors: {
  custom: {
    50: '#be70d1',
    500: '#9c28bc',
    950: '#000000',
  },
}
SCSS
$custom: #9c28bc;
$custom-light: #be70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c28bc",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 287.027,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52569,
    "c": 0.22407,
    "h": 317.6
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#9C28BC
secondary
#87CB75
accent
#E84064
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9C28BC

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

Preview Lab → · Contrast checker → · Palette generator →

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