#9C28AF#9C28AF

#9C28AF is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.213 H 321.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9C28AF
RGBrgb(156, 40, 175)
HSLhsl(292, 63%, 42%)
HSVhsv(292, 77%, 69%)
CMYKcmyk(10.9%, 77.1%, 0%, 31.4%)
CIE-LABlab(40.71, 63.53, -47.40)
CIE-LCHlch(40.71, 79.26, 323.28°)
OKLaboklab(51.69% 0.167 -0.1327)
OKLCHoklch(51.69% 0.213 321.5)
XYZxyz(22.2061, 11.6819, 41.6343)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C28AF #3BAF28
analogous
#5928AF #9C28AF #AF287E
triadic
#9C28AF #AF9C28 #28AF9C
tetradic
#9C28AF #AF5928 #3BAF28 #287EAF
square
#9C28AF #AF5928 #3BAF28 #287EAF
split-complementary
#9C28AF #7EAF28 #28AF59
monochromatic
#43114B #701D7D #9C28AF #BF41D4 #D073DF

Accessibility & contrast

On white

6.29
#9C28AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9C28AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C28AF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C28AF#FFFFFF#000000##FFFFFF
##9C28AF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#9D436B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c28af;
/* rgb */ color: rgb(156, 40, 175);
/* oklch */ color: oklch(51.7% 0.213 321.5);
Tailwind
colors: {
  custom: {
    50: '#bd70c7',
    500: '#9c28af',
    950: '#000000',
  },
}
SCSS
$custom: #9c28af;
$custom-light: #bd70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c28af",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 291.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51694,
    "c": 0.21334,
    "h": 321.5
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#9C28AF
secondary
#79C66D
accent
#E64259
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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