#9C28AE#9C28AE

#9C28AE is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.213 H 321.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9C28AE
RGBrgb(156, 40, 174)
HSLhsl(292, 63%, 42%)
HSVhsv(292, 77%, 68%)
CMYKcmyk(10.3%, 77%, 0%, 31.8%)
CIE-LABlab(40.64, 63.35, -46.90)
CIE-LCHlch(40.64, 78.82, 323.48°)
OKLaboklab(51.63% 0.1671 -0.1313)
OKLCHoklch(51.63% 0.213 321.8)
XYZxyz(22.1083, 11.6428, 41.1190)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C28AE #3AAE28
analogous
#5928AE #9C28AE #AE287D
triadic
#9C28AE #AE9C28 #28AE9C
tetradic
#9C28AE #AE5928 #3AAE28 #287DAE
square
#9C28AE #AE5928 #3AAE28 #287DAE
split-complementary
#9C28AE #7DAE28 #28AE59
monochromatic
#43114A #6F1D7C #9C28AE #BF40D3 #D072DF

Accessibility & contrast

On white

6.31
#9C28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9C28AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C28AE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C28AE#FFFFFF#000000##FFFFFF
##9C28AE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#3B64AB
Tritanopia (blue-blind)
#9E436A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c28ae;
/* rgb */ color: rgb(156, 40, 174);
/* oklch */ color: oklch(51.6% 0.213 321.8);
Tailwind
colors: {
  custom: {
    50: '#bd70c7',
    500: '#9c28ae',
    950: '#000000',
  },
}
SCSS
$custom: #9c28ae;
$custom-light: #bd70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c28ae",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 291.94,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.21251,
    "h": 321.8
  },
  "luminance": 0.11641
}

Semantic roles & 50–950 ramp

primary
#9C28AE
secondary
#78C66C
accent
#E64258
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9C28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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