#9C348B#9C348B

#9C348B is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.7% C 0.170 H 334.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9C348B
RGBrgb(156, 52, 139)
HSLhsl(310, 50%, 41%)
HSVhsv(310, 67%, 61%)
CMYKcmyk(0%, 66.7%, 10.9%, 38.8%)
CIE-LABlab(40.23, 53.03, -26.47)
CIE-LCHlch(40.23, 59.27, 333.47°)
OKLaboklab(50.7% 0.1543 -0.0722)
OKLCHoklch(50.7% 0.17 334.9)
XYZxyz(19.5987, 11.3896, 25.5873)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C348B #349C45
analogous
#79349C #9C348B #9C3457
triadic
#9C348B #8B9C34 #348B9C
tetradic
#9C348B #9C7934 #349C45 #34579C
square
#9C348B #9C7934 #349C45 #34579C
split-complementary
#9C348B #579C34 #349C79
monochromatic
#401539 #6E2562 #9C348B #C34AAF #D278C3

Accessibility & contrast

On white

6.41
#9C348B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9C348B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C348B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C348B#FFFFFF#000000##FFFFFF
##9C348B1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#A33B5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c348b;
/* rgb */ color: rgb(156, 52, 139);
/* oklch */ color: oklch(50.7% 0.170 334.9);
Tailwind
colors: {
  custom: {
    50: '#bc74ad',
    500: '#9c348b',
    950: '#000000',
  },
}
SCSS
$custom: #9c348b;
$custom-light: #bc74ad;
$custom-dark: #000000;
JSON
{
  "hex": "#9c348b",
  "rgb": {
    "r": 156,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 309.808,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50703,
    "c": 0.17031,
    "h": 334.9
  },
  "luminance": 0.11388
}

Semantic roles & 50–950 ramp

primary
#9C348B
secondary
#71BB7D
accent
#DA654E
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C348B

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

Preview Lab → · Contrast checker → · Palette generator →

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