#9D348D#9D348D

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

Color values

HEX#9D348D
RGBrgb(157, 52, 141)
HSLhsl(309, 50%, 41%)
HSVhsv(309, 67%, 62%)
CMYKcmyk(0%, 66.9%, 10.2%, 38.4%)
CIE-LABlab(40.49, 53.61, -27.27)
CIE-LCHlch(40.49, 60.15, 333.03°)
OKLaboklab(50.96% 0.1556 -0.0744)
OKLCHoklch(50.96% 0.172 334.4)
XYZxyz(19.9405, 11.5488, 26.3731)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D348D #349D44
analogous
#78349D #9D348D #9D3458
triadic
#9D348D #8D9D34 #348D9D
tetradic
#9D348D #9D7834 #349D44 #34589D
square
#9D348D #9D7834 #349D44 #34589D
split-complementary
#9D348D #589D34 #349D78
monochromatic
#41163A #6F2564 #9D348D #C34BB1 #D379C5

Accessibility & contrast

On white

6.35
#9D348D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9D348D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D348D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D348D#FFFFFF#000000##FFFFFF
##9D348D1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#56658A
Tritanopia (blue-blind)
#A43C5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d348d;
/* rgb */ color: rgb(157, 52, 141);
/* oklch */ color: oklch(51.0% 0.172 334.4);
Tailwind
colors: {
  custom: {
    50: '#bd74ae',
    500: '#9d348d',
    950: '#000000',
  },
}
SCSS
$custom: #9d348d;
$custom-light: #bd74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9d348d",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 309.143,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50956,
    "c": 0.17248,
    "h": 334.4
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#9D348D
secondary
#72BB7D
accent
#DA634E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D348D

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

Preview Lab → · Contrast checker → · Palette generator →

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