#9C52BC#9C52BC

#9C52BC is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.1% C 0.171 H 314.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9C52BC
RGBrgb(156, 82, 188)
HSLhsl(282, 44%, 53%)
HSVhsv(282, 56%, 74%)
CMYKcmyk(17%, 56.4%, 0%, 26.3%)
CIE-LABlab(47.92, 48.22, -43.51)
CIE-LCHlch(47.92, 64.95, 317.94°)
OKLaboklab(57.15% 0.1197 -0.1216)
OKLCHoklch(57.15% 0.171 314.5)
XYZxyz(25.8032, 16.7341, 49.4380)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52BC #72BC52
analogous
#6752BC #9C52BC #BC52A7
triadic
#9C52BC #BC9C52 #52BC9C
tetradic
#9C52BC #BC6752 #72BC52 #52A7BC
square
#9C52BC #BC6752 #72BC52 #52A7BC
split-complementary
#9C52BC #A7BC52 #52BC67
monochromatic
#57296A #7B3A97 #9C52BC #B57ECD #CEAADE

Accessibility & contrast

On white

4.83
#9C52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9C52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C52BC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52BC#FFFFFF#000000##FFFFFF
##9C52BC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBF
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#9A647F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c52bc;
/* rgb */ color: rgb(156, 82, 188);
/* oklch */ color: oklch(57.1% 0.171 314.5);
Tailwind
colors: {
  custom: {
    50: '#bc86d1',
    500: '#9c52bc',
    950: '#000000',
  },
}
SCSS
$custom: #9c52bc;
$custom-light: #bc86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52bc",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 281.887,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57146,
    "c": 0.17068,
    "h": 314.5
  },
  "luminance": 0.16733
}

Semantic roles & 50–950 ramp

primary
#9C52BC
secondary
#ACCC9E
accent
#D4547B
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9C52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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