#9D348E#9D348E

#9D348E is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.0% C 0.173 H 334.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9D348E
RGBrgb(157, 52, 142)
HSLhsl(309, 50%, 41%)
HSVhsv(309, 67%, 62%)
CMYKcmyk(0%, 66.9%, 9.6%, 38.4%)
CIE-LABlab(40.54, 53.77, -27.81)
CIE-LCHlch(40.54, 60.53, 332.65°)
OKLaboklab(51.01% 0.1557 -0.076)
OKLCHoklch(51.01% 0.173 334)
XYZxyz(20.0152, 11.5787, 26.7667)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D348E #349D43
analogous
#77349D #9D348E #9D3459
triadic
#9D348E #8E9D34 #348E9D
tetradic
#9D348E #9D7734 #349D43 #34599D
square
#9D348E #9D7734 #349D43 #34599D
split-complementary
#9D348E #599D34 #349D77
monochromatic
#41163B #6F2564 #9D348E #C34BB2 #D379C6

Accessibility & contrast

On white

6.33
#9D348E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D348E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D348E#FFFFFF#000000##FFFFFF
##9D348E1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#A43C5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d348e;
/* rgb */ color: rgb(157, 52, 142);
/* oklch */ color: oklch(51.0% 0.173 334.0);
Tailwind
colors: {
  custom: {
    50: '#bd74af',
    500: '#9d348e',
    950: '#000000',
  },
}
SCSS
$custom: #9d348e;
$custom-light: #bd74af;
$custom-dark: #000000;
JSON
{
  "hex": "#9d348e",
  "rgb": {
    "r": 157,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 308.571,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.17325,
    "h": 334
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

primary
#9D348E
secondary
#72BB7C
accent
#DA624E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9D348E

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

Preview Lab → · Contrast checker → · Palette generator →

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