#9F4E95#9F4E95

#9F4E95 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.9% C 0.140 H 332.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9F4E95
RGBrgb(159, 78, 149)
HSLhsl(307, 34%, 46%)
HSVhsv(307, 51%, 62%)
CMYKcmyk(0%, 50.9%, 6.3%, 37.6%)
CIE-LABlab(45.62, 43.45, -24.10)
CIE-LCHlch(45.62, 49.69, 330.99°)
OKLaboklab(54.91% 0.124 -0.0656)
OKLCHoklch(54.91% 0.14 332.1)
XYZxyz(22.4472, 14.9910, 30.1392)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4E95 #4E9F58
analogous
#814E9F #9F4E95 #9F4E6D
triadic
#9F4E95 #959F4E #4E959F
tetradic
#9F4E95 #9F814E #4E9F58 #4E6D9F
square
#9F4E95 #9F814E #4E9F58 #4E6D9F
split-complementary
#9F4E95 #6D9F4E #4E9F81
monochromatic
#4D2648 #763A6F #9F4E95 #B971B0 #CD9AC7

Accessibility & contrast

On white

5.25
#9F4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9F4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4E95
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4E95#FFFFFF#000000##FFFFFF
##9F4E951.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6597
Deuteranopia (green-blind)
#637093
Tritanopia (blue-blind)
#A5546B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f4e95;
/* rgb */ color: rgb(159, 78, 149);
/* oklch */ color: oklch(54.9% 0.140 332.1);
Tailwind
colors: {
  custom: {
    50: '#bd83b4',
    500: '#9f4e95',
    950: '#000000',
  },
}
SCSS
$custom: #9f4e95;
$custom-light: #bd83b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4e95",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 307.407,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.14028,
    "h": 332.1
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#9F4E95
secondary
#8FBA94
accent
#CA6B5E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9F4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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