#9C28A9#9C28A9

#9C28A9 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.208 H 323.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9C28A9
RGBrgb(156, 40, 169)
HSLhsl(294, 62%, 41%)
HSVhsv(294, 76%, 66%)
CMYKcmyk(7.7%, 76.3%, 0%, 33.7%)
CIE-LABlab(40.33, 62.46, -44.43)
CIE-LCHlch(40.33, 76.65, 324.58°)
OKLaboklab(51.31% 0.1675 -0.1241)
OKLCHoklch(51.31% 0.208 323.5)
XYZxyz(21.6299, 11.4514, 38.5995)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C28A9 #35A928
analogous
#5B28A9 #9C28A9 #A92875
triadic
#9C28A9 #A99C28 #28A99C
tetradic
#9C28A9 #A95B28 #35A928 #2875A9
square
#9C28A9 #A95B28 #35A928 #2875A9
split-complementary
#9C28A9 #75A928 #28A95B
monochromatic
#411146 #6E1C78 #9C28A9 #C23DD1 #D26FDD

Accessibility & contrast

On white

6.38
#9C28A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9C28A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C28A9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C28A9#FFFFFF#000000##FFFFFF
##9C28A91.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AC
Deuteranopia (green-blind)
#3F64A6
Tritanopia (blue-blind)
#9F4167
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c28a9;
/* rgb */ color: rgb(156, 40, 169);
/* oklch */ color: oklch(51.3% 0.208 323.5);
Tailwind
colors: {
  custom: {
    50: '#bd6fc3',
    500: '#9c28a9',
    950: '#000000',
  },
}
SCSS
$custom: #9c28a9;
$custom-light: #bd6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c28a9",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 293.953,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51308,
    "c": 0.20846,
    "h": 323.5
  },
  "luminance": 0.1145
}

Semantic roles & 50–950 ramp

primary
#9C28A9
secondary
#72C469
accent
#E54353
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9C28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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