#9C3FA2#9C3FA2

#9C3FA2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.2% C 0.174 H 325.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9C3FA2
RGBrgb(156, 63, 162)
HSLhsl(296, 44%, 44%)
HSVhsv(296, 61%, 64%)
CMYKcmyk(3.7%, 61.1%, 0%, 36.5%)
CIE-LABlab(43.11, 52.24, -35.83)
CIE-LCHlch(43.11, 63.35, 325.56°)
OKLaboklab(53.18% 0.1429 -0.0992)
OKLCHoklch(53.18% 0.174 325.2)
XYZxyz(22.0089, 13.2329, 35.5704)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3FA2 #45A23F
analogous
#6B3FA2 #9C3FA2 #A23F77
triadic
#9C3FA2 #A29C3F #3FA29C
tetradic
#9C3FA2 #A26B3F #45A23F #3F77A2
square
#9C3FA2 #A26B3F #45A23F #3F77A2
split-complementary
#9C3FA2 #77A23F #3FA26B
monochromatic
#471D4A #722E76 #9C3FA2 #BA5EC0 #CD8AD1

Accessibility & contrast

On white

5.76
#9C3FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9C3FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3FA2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3FA2#FFFFFF#000000##FFFFFF
##9C3FA21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#9F4D6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9c3fa2;
/* rgb */ color: rgb(156, 63, 162);
/* oklch */ color: oklch(53.2% 0.174 325.2);
Tailwind
colors: {
  custom: {
    50: '#bc7abe',
    500: '#9c3fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9c3fa2;
$custom-light: #bc7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3fa2",
  "rgb": {
    "r": 156,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 296.364,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53179,
    "c": 0.17393,
    "h": 325.2
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#9C3FA2
secondary
#84BC81
accent
#D4545C
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9C3FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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