#9F348F#9F348F

#9F348F is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.175 H 334.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9F348F
RGBrgb(159, 52, 143)
HSLhsl(309, 51%, 41%)
HSVhsv(309, 67%, 62%)
CMYKcmyk(0%, 67.3%, 10.1%, 37.6%)
CIE-LABlab(40.92, 54.45, -27.80)
CIE-LCHlch(40.92, 61.14, 332.95°)
OKLaboklab(51.36% 0.158 -0.0759)
OKLCHoklch(51.36% 0.175 334.3)
XYZxyz(20.4841, 11.8118, 27.1823)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F348F #349F44
analogous
#7A349F #9F348F #9F345A
triadic
#9F348F #8F9F34 #348F9F
tetradic
#9F348F #9F7A34 #349F44 #345A9F
square
#9F348F #9F7A34 #349F44 #345A9F
split-complementary
#9F348F #5A9F34 #349F7A
monochromatic
#43163C #712566 #9F348F #C44CB2 #D37AC6

Accessibility & contrast

On white

6.25
#9F348F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9F348F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F348F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F348F#FFFFFF#000000##FFFFFF
##9F348F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335692
Deuteranopia (green-blind)
#57668C
Tritanopia (blue-blind)
#A63C5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f348f;
/* rgb */ color: rgb(159, 52, 143);
/* oklch */ color: oklch(51.4% 0.175 334.3);
Tailwind
colors: {
  custom: {
    50: '#be74b0',
    500: '#9f348f',
    950: '#000000',
  },
}
SCSS
$custom: #9f348f;
$custom-light: #be74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f348f",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 308.972,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51361,
    "c": 0.17527,
    "h": 334.3
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#9F348F
secondary
#73BC7E
accent
#DA634E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #9F348F

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

Preview Lab → · Contrast checker → · Palette generator →

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