#9C47AE#9C47AE

#9C47AE is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.173 H 320.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9C47AE
RGBrgb(156, 71, 174)
HSLhsl(290, 42%, 48%)
HSVhsv(290, 59%, 68%)
CMYKcmyk(10.3%, 59.2%, 0%, 31.8%)
CIE-LABlab(45.13, 50.80, -39.76)
CIE-LCHlch(45.13, 64.51, 321.96°)
OKLaboklab(54.85% 0.1334 -0.1107)
OKLCHoklch(54.85% 0.173 320.3)
XYZxyz(23.6026, 14.6315, 41.6171)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C47AE #59AE47
analogous
#6947AE #9C47AE #AE478C
triadic
#9C47AE #AE9C47 #47AE9C
tetradic
#9C47AE #AE6947 #59AE47 #478CAE
square
#9C47AE #AE6947 #59AE47 #478CAE
split-complementary
#9C47AE #8CAE47 #47AE69
monochromatic
#4E2457 #753583 #9C47AE #B56EC4 #CB9AD6

Accessibility & contrast

On white

5.35
#9C47AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9C47AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C47AE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C47AE#FFFFFF#000000##FFFFFF
##9C47AE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#9D5774
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9c47ae;
/* rgb */ color: rgb(156, 71, 174);
/* oklch */ color: oklch(54.9% 0.173 320.3);
Tailwind
colors: {
  custom: {
    50: '#bc7fc6',
    500: '#9c47ae',
    950: '#000000',
  },
}
SCSS
$custom: #9c47ae;
$custom-light: #bc7fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c47ae",
  "rgb": {
    "r": 156,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 289.515,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54853,
    "c": 0.17331,
    "h": 320.3
  },
  "luminance": 0.1463
}

Semantic roles & 50–950 ramp

primary
#9C47AE
secondary
#98C28F
accent
#D2566C
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9C47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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