#9C348E#9C348E

#9C348E is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.9% C 0.173 H 333.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C348E
RGBrgb(156, 52, 142)
HSLhsl(308, 50%, 41%)
HSVhsv(308, 67%, 61%)
CMYKcmyk(0%, 66.7%, 9%, 38.8%)
CIE-LABlab(40.38, 53.51, -28.08)
CIE-LCHlch(40.38, 60.43, 332.31°)
OKLaboklab(50.86% 0.1546 -0.0768)
OKLCHoklch(50.86% 0.173 333.6)
XYZxyz(19.8209, 11.4785, 26.7576)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C348E #349C42
analogous
#76349C #9C348E #9C345A
triadic
#9C348E #8E9C34 #348E9C
tetradic
#9C348E #9C7634 #349C42 #345A9C
square
#9C348E #9C7634 #349C42 #345A9C
split-complementary
#9C348E #5A9C34 #349C76
monochromatic
#40153A #6E2564 #9C348E #C34AB3 #D278C6

Accessibility & contrast

On white

6.37
#9C348E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9C348E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C348E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C348E#FFFFFF#000000##FFFFFF
##9C348E1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325591
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#A33C5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c348e;
/* rgb */ color: rgb(156, 52, 142);
/* oklch */ color: oklch(50.9% 0.173 333.6);
Tailwind
colors: {
  custom: {
    50: '#bc74af',
    500: '#9c348e',
    950: '#000000',
  },
}
SCSS
$custom: #9c348e;
$custom-light: #bc74af;
$custom-dark: #000000;
JSON
{
  "hex": "#9c348e",
  "rgb": {
    "r": 156,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 308.077,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.17263,
    "h": 333.6
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#9C348E
secondary
#71BB7B
accent
#DA614E
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C348E

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

Preview Lab → · Contrast checker → · Palette generator →

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