#9D348F#9D348F

#9D348F is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.174 H 333.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9D348F
RGBrgb(157, 52, 143)
HSLhsl(308, 50%, 41%)
HSVhsv(308, 67%, 62%)
CMYKcmyk(0%, 66.9%, 8.9%, 38.4%)
CIE-LABlab(40.59, 53.93, -28.34)
CIE-LCHlch(40.59, 60.92, 332.28°)
OKLaboklab(51.06% 0.1558 -0.0775)
OKLCHoklch(51.06% 0.174 333.6)
XYZxyz(20.0906, 11.6089, 27.1639)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D348F #349D42
analogous
#76349D #9D348F #9D345A
triadic
#9D348F #8F9D34 #348F9D
tetradic
#9D348F #9D7634 #349D42 #345A9D
square
#9D348F #9D7634 #349D42 #345A9D
split-complementary
#9D348F #5A9D34 #349D76
monochromatic
#41163B #6F2565 #9D348F #C34BB3 #D379C7

Accessibility & contrast

On white

6.32
#9D348F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9D348F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D348F
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D348F#FFFFFF#000000##FFFFFF
##9D348F1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#55658C
Tritanopia (blue-blind)
#A43D5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d348f;
/* rgb */ color: rgb(157, 52, 143);
/* oklch */ color: oklch(51.1% 0.174 333.6);
Tailwind
colors: {
  custom: {
    50: '#bd74b0',
    500: '#9d348f',
    950: '#000000',
  },
}
SCSS
$custom: #9d348f;
$custom-light: #bd74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d348f",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 308,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.17402,
    "h": 333.6
  },
  "luminance": 0.11607
}

Semantic roles & 50–950 ramp

primary
#9D348F
secondary
#72BB7B
accent
#DA614E
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D348F

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

Preview Lab → · Contrast checker → · Palette generator →

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