#9C3EA2#9C3EA2

#9C3EA2 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.1% C 0.175 H 325.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9C3EA2
RGBrgb(156, 62, 162)
HSLhsl(296, 45%, 44%)
HSVhsv(296, 62%, 64%)
CMYKcmyk(3.7%, 61.7%, 0%, 36.5%)
CIE-LABlab(42.95, 52.69, -36.09)
CIE-LCHlch(42.95, 63.87, 325.60°)
OKLaboklab(53.06% 0.1441 -0.0999)
OKLCHoklch(53.06% 0.175 325.3)
XYZxyz(21.9540, 13.1231, 35.5521)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3EA2 #44A23E
analogous
#6A3EA2 #9C3EA2 #A23E76
triadic
#9C3EA2 #A29C3E #3EA29C
tetradic
#9C3EA2 #A26A3E #44A23E #3E76A2
square
#9C3EA2 #A26A3E #44A23E #3E76A2
split-complementary
#9C3EA2 #76A23E #3EA26A
monochromatic
#471C49 #712D76 #9C3EA2 #BB5CC1 #CD89D2

Accessibility & contrast

On white

5.79
#9C3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9C3EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3EA2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3EA2#FFFFFF#000000##FFFFFF
##9C3EA21.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#9F4C6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9c3ea2;
/* rgb */ color: rgb(156, 62, 162);
/* oklch */ color: oklch(53.1% 0.175 325.3);
Tailwind
colors: {
  custom: {
    50: '#bc7abe',
    500: '#9c3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9c3ea2;
$custom-light: #bc7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3ea2",
  "rgb": {
    "r": 156,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 296.4,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.17539,
    "h": 325.3
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#9C3EA2
secondary
#83BC80
accent
#D4535B
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9C3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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