#9D348C#9D348C

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

Color values

HEX#9D348C
RGBrgb(157, 52, 140)
HSLhsl(310, 50%, 41%)
HSVhsv(310, 67%, 62%)
CMYKcmyk(0%, 66.9%, 10.8%, 38.4%)
CIE-LABlab(40.44, 53.45, -26.74)
CIE-LCHlch(40.44, 59.76, 333.42°)
OKLaboklab(50.91% 0.1555 -0.0729)
OKLCHoklch(50.91% 0.172 334.9)
XYZxyz(19.8664, 11.5192, 25.9830)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D348C #349D45
analogous
#79349D #9D348C #9D3457
triadic
#9D348C #8C9D34 #348C9D
tetradic
#9D348C #9D7934 #349D45 #34579D
square
#9D348C #9D7934 #349D45 #34579D
split-complementary
#9D348C #579D34 #349D79
monochromatic
#41163A #6F2563 #9D348C #C34BB0 #D379C4

Accessibility & contrast

On white

6.36
#9D348C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D348C
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D348C#FFFFFF#000000##FFFFFF
##9D348C1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558F
Deuteranopia (green-blind)
#566589
Tritanopia (blue-blind)
#A53B5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d348c;
/* rgb */ color: rgb(157, 52, 140);
/* oklch */ color: oklch(50.9% 0.172 334.9);
Tailwind
colors: {
  custom: {
    50: '#bd74ae',
    500: '#9d348c',
    950: '#000000',
  },
}
SCSS
$custom: #9d348c;
$custom-light: #bd74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d348c",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 309.714,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.17171,
    "h": 334.9
  },
  "luminance": 0.11518
}

Semantic roles & 50–950 ramp

primary
#9D348C
secondary
#72BB7E
accent
#DA654E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D348C

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

Preview Lab → · Contrast checker → · Palette generator →

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