#9C52A2#9C52A2

#9C52A2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.7% C 0.144 H 324.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9C52A2
RGBrgb(156, 82, 162)
HSLhsl(296, 33%, 48%)
HSVhsv(296, 49%, 64%)
CMYKcmyk(3.7%, 49.4%, 0%, 36.5%)
CIE-LABlab(46.59, 42.89, -30.35)
CIE-LCHlch(46.59, 52.55, 324.71°)
OKLaboklab(55.74% 0.1169 -0.0835)
OKLCHoklch(55.74% 0.144 324.5)
XYZxyz(23.2486, 15.7123, 35.9836)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C52A2 #58A252
analogous
#7452A2 #9C52A2 #A25280
triadic
#9C52A2 #A29C52 #52A29C
tetradic
#9C52A2 #A27452 #58A252 #5280A2
square
#9C52A2 #A27452 #58A252 #5280A2
split-complementary
#9C52A2 #80A252 #52A274
monochromatic
#4E2951 #753D79 #9C52A2 #B577BA #CBA0CF

Accessibility & contrast

On white

5.07
#9C52A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9C52A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C52A2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C52A2#FFFFFF#000000##FFFFFF
##9C52A21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4869A5
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#9F5B72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9c52a2;
/* rgb */ color: rgb(156, 82, 162);
/* oklch */ color: oklch(55.7% 0.144 324.5);
Tailwind
colors: {
  custom: {
    50: '#bb85be',
    500: '#9c52a2',
    950: '#000000',
  },
}
SCSS
$custom: #9c52a2;
$custom-light: #bb85be;
$custom-dark: #000000;
JSON
{
  "hex": "#9c52a2",
  "rgb": {
    "r": 156,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 295.5,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.14371,
    "h": 324.5
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#9C52A2
secondary
#97BC94
accent
#C95F67
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #9C52A2

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

Preview Lab → · Contrast checker → · Palette generator →

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