#9F348E#9F348E

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

Color values

HEX#9F348E
RGBrgb(159, 52, 142)
HSLhsl(310, 51%, 41%)
HSVhsv(310, 67%, 62%)
CMYKcmyk(0%, 67.3%, 10.7%, 37.6%)
CIE-LABlab(40.87, 54.29, -27.27)
CIE-LCHlch(40.87, 60.76, 333.33°)
OKLaboklab(51.31% 0.1579 -0.0744)
OKLCHoklch(51.31% 0.175 334.8)
XYZxyz(20.4087, 11.7816, 26.7851)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F348E #349F45
analogous
#7B349F #9F348E #9F3459
triadic
#9F348E #8E9F34 #348E9F
tetradic
#9F348E #9F7B34 #349F45 #34599F
square
#9F348E #9F7B34 #349F45 #34599F
split-complementary
#9F348E #599F34 #349F7B
monochromatic
#43163C #712565 #9F348E #C44CB1 #D37AC5

Accessibility & contrast

On white

6.26
#9F348E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F348E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F348E#FFFFFF#000000##FFFFFF
##9F348E1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335691
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#A73C5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9f348e;
/* rgb */ color: rgb(159, 52, 142);
/* oklch */ color: oklch(51.3% 0.175 334.8);
Tailwind
colors: {
  custom: {
    50: '#be74af',
    500: '#9f348e',
    950: '#000000',
  },
}
SCSS
$custom: #9f348e;
$custom-light: #be74af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f348e",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 309.533,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.17451,
    "h": 334.8
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F348E

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

Preview Lab → · Contrast checker → · Palette generator →

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