#9C3CA2#9C3CA2

#9C3CA2 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.8% C 0.178 H 325.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9C3CA2
RGBrgb(156, 60, 162)
HSLhsl(296, 46%, 44%)
HSVhsv(296, 63%, 64%)
CMYKcmyk(3.7%, 63%, 0%, 36.5%)
CIE-LABlab(42.63, 53.58, -36.59)
CIE-LCHlch(42.63, 64.89, 325.67°)
OKLaboklab(52.83% 0.1466 -0.1014)
OKLCHoklch(52.83% 0.178 325.3)
XYZxyz(21.8473, 12.9096, 35.5165)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3CA2 #42A23C
analogous
#693CA2 #9C3CA2 #A23C75
triadic
#9C3CA2 #A29C3C #3CA29C
tetradic
#9C3CA2 #A2693C #42A23C #3C75A2
square
#9C3CA2 #A2693C #42A23C #3C75A2
split-complementary
#9C3CA2 #75A23C #3CA269
monochromatic
#461B49 #712B75 #9C3CA2 #BC59C2 #CE86D2

Accessibility & contrast

On white

5.86
#9C3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9C3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3CA2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3CA2#FFFFFF#000000##FFFFFF
##9C3CA21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#4F699F
Tritanopia (blue-blind)
#A04A69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c3ca2;
/* rgb */ color: rgb(156, 60, 162);
/* oklch */ color: oklch(52.8% 0.178 325.3);
Tailwind
colors: {
  custom: {
    50: '#bc78be',
    500: '#9c3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ca2;
$custom-light: #bc78be;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ca2",
  "rgb": {
    "r": 156,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 296.471,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.17825,
    "h": 325.3
  },
  "luminance": 0.12908
}

Semantic roles & 50–950 ramp

primary
#9C3CA2
secondary
#81BC7D
accent
#D6525A
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9C3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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