#9C55A2#9C55A2

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

Color values

HEX#9C55A2
RGBrgb(156, 85, 162)
HSLhsl(295, 31%, 48%)
HSVhsv(295, 48%, 64%)
CMYKcmyk(3.7%, 47.5%, 0%, 36.5%)
CIE-LABlab(47.20, 41.30, -29.40)
CIE-LCHlch(47.20, 50.70, 324.55°)
OKLaboklab(56.19% 0.1125 -0.0808)
OKLCHoklch(56.19% 0.139 324.3)
XYZxyz(23.4798, 16.1746, 36.0607)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C55A2 #5BA255
analogous
#7555A2 #9C55A2 #A25581
triadic
#9C55A2 #A29C55 #55A29C
tetradic
#9C55A2 #A27555 #5BA255 #5581A2
square
#9C55A2 #A27555 #5BA255 #5581A2
split-complementary
#9C55A2 #81A255 #55A275
monochromatic
#4F2B52 #75407A #9C55A2 #B57BBA #CBA3CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C55A2#FFFFFF#000000##FFFFFF
##9C55A21.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)
#4C6AA5
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#9F5E74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9c55a2;
/* rgb */ color: rgb(156, 85, 162);
/* oklch */ color: oklch(56.2% 0.139 324.3);
Tailwind
colors: {
  custom: {
    50: '#bb87be',
    500: '#9c55a2',
    950: '#000000',
  },
}
SCSS
$custom: #9c55a2;
$custom-light: #bb87be;
$custom-dark: #000000;
JSON
{
  "hex": "#9c55a2",
  "rgb": {
    "r": 156,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 295.325,
    "s": 31.174,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56186,
    "c": 0.13857,
    "h": 324.3
  },
  "luminance": 0.16174
}

Semantic roles & 50–950 ramp

primary
#9C55A2
secondary
#9ABC97
accent
#C76068
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #9C55A2

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

Preview Lab → · Contrast checker → · Palette generator →

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