#9C28AB#9C28AB

#9C28AB is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.210 H 322.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9C28AB
RGBrgb(156, 40, 171)
HSLhsl(293, 62%, 41%)
HSVhsv(293, 77%, 67%)
CMYKcmyk(8.8%, 76.6%, 0%, 32.9%)
CIE-LABlab(40.45, 62.81, -45.42)
CIE-LCHlch(40.45, 77.51, 324.13°)
OKLaboklab(51.43% 0.1674 -0.127)
OKLCHoklch(51.43% 0.21 322.8)
XYZxyz(21.8191, 11.5271, 39.5959)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C28AB #37AB28
analogous
#5B28AB #9C28AB #AB2879
triadic
#9C28AB #AB9C28 #28AB9C
tetradic
#9C28AB #AB5B28 #37AB28 #2879AB
square
#9C28AB #AB5B28 #37AB28 #2879AB
split-complementary
#9C28AB #79AB28 #28AB5B
monochromatic
#421148 #6F1C79 #9C28AB #C13ED2 #D170DE

Accessibility & contrast

On white

6.35
#9C28AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9C28AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C28AB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C28AB#FFFFFF#000000##FFFFFF
##9C28AB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#3E64A8
Tritanopia (blue-blind)
#9E4269
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c28ab;
/* rgb */ color: rgb(156, 40, 171);
/* oklch */ color: oklch(51.4% 0.210 322.8);
Tailwind
colors: {
  custom: {
    50: '#bd6fc5',
    500: '#9c28ab',
    950: '#000000',
  },
}
SCSS
$custom: #9c28ab;
$custom-light: #bd6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c28ab",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 293.13,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51435,
    "c": 0.21008,
    "h": 322.8
  },
  "luminance": 0.11526
}

Semantic roles & 50–950 ramp

primary
#9C28AB
secondary
#75C46A
accent
#E54355
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C28AB

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

Preview Lab → · Contrast checker → · Palette generator →

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