#9C28A5#9C28A5

#9C28A5 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.205 H 324.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9C28A5
RGBrgb(156, 40, 165)
HSLhsl(296, 61%, 40%)
HSVhsv(296, 76%, 65%)
CMYKcmyk(5.5%, 75.8%, 0%, 35.3%)
CIE-LABlab(40.09, 61.76, -42.42)
CIE-LCHlch(40.09, 74.93, 325.51°)
OKLaboklab(51.06% 0.1678 -0.1182)
OKLCHoklch(51.06% 0.205 324.8)
XYZxyz(21.2601, 11.3035, 36.6520)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C28A5 #31A528
analogous
#5D28A5 #9C28A5 #A5286F
triadic
#9C28A5 #A59C28 #28A59C
tetradic
#9C28A5 #A55D28 #31A528 #286FA5
square
#9C28A5 #A55D28 #31A528 #286FA5
split-complementary
#9C28A5 #6FA528 #28A55D
monochromatic
#3F1042 #6D1C74 #9C28A5 #C53BCF #D36CDB

Accessibility & contrast

On white

6.44
#9C28A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9C28A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C28A5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C28A5#FFFFFF#000000##FFFFFF
##9C28A51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#9F3F65
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c28a5;
/* rgb */ color: rgb(156, 40, 165);
/* oklch */ color: oklch(51.1% 0.205 324.8);
Tailwind
colors: {
  custom: {
    50: '#bd6fc0',
    500: '#9c28a5',
    950: '#000000',
  },
}
SCSS
$custom: #9c28a5;
$custom-light: #bd6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c28a5",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 295.68,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.20523,
    "h": 324.8
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#9C28A5
secondary
#6DC267
accent
#E4444F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9C28A5

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

Preview Lab → · Contrast checker → · Palette generator →

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