#9C52AE#9C52AE

#9C52AE is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.4% C 0.156 H 319.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9C52AE
RGBrgb(156, 82, 174)
HSLhsl(288, 36%, 50%)
HSVhsv(288, 53%, 68%)
CMYKcmyk(10.3%, 52.9%, 0%, 31.8%)
CIE-LABlab(47.18, 45.29, -36.50)
CIE-LCHlch(47.18, 58.17, 321.13°)
OKLaboklab(56.36% 0.1186 -0.1013)
OKLCHoklch(56.36% 0.156 319.5)
XYZxyz(24.3666, 16.1595, 41.8718)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52AE #64AE52
analogous
#6E52AE #9C52AE #AE5292
triadic
#9C52AE #AE9C52 #52AE9C
tetradic
#9C52AE #AE6E52 #64AE52 #5292AE
square
#9C52AE #AE6E52 #64AE52 #5292AE
split-complementary
#9C52AE #92AE52 #52AE6E
monochromatic
#522B5B #773E85 #9C52AE #B47CC2 #CCA5D5

Accessibility & contrast

On white

4.96
#9C52AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9C52AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C52AE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52AE#FFFFFF#000000##FFFFFF
##9C52AE1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB1
Deuteranopia (green-blind)
#5873AB
Tritanopia (blue-blind)
#9D5F78
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c52ae;
/* rgb */ color: rgb(156, 82, 174);
/* oklch */ color: oklch(56.4% 0.156 319.5);
Tailwind
colors: {
  custom: {
    50: '#bb86c6',
    500: '#9c52ae',
    950: '#000000',
  },
}
SCSS
$custom: #9c52ae;
$custom-light: #bb86c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52ae",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 288.261,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.15594,
    "h": 319.5
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#9C52AE
secondary
#A1C299
accent
#CC5C72
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9C52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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