#9F4E97#9F4E97

#9F4E97 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.0% C 0.142 H 331.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9F4E97
RGBrgb(159, 78, 151)
HSLhsl(306, 34%, 46%)
HSVhsv(306, 51%, 62%)
CMYKcmyk(0%, 50.9%, 5%, 37.6%)
CIE-LABlab(45.71, 43.81, -25.16)
CIE-LCHlch(45.71, 50.52, 330.13°)
OKLaboklab(55% 0.1244 -0.0686)
OKLCHoklch(55% 0.142 331.1)
XYZxyz(22.6082, 15.0555, 30.9873)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4E97 #4E9F56
analogous
#7F4E9F #9F4E97 #9F4E6F
triadic
#9F4E97 #979F4E #4E979F
tetradic
#9F4E97 #9F7F4E #4E9F56 #4E6F9F
square
#9F4E97 #9F7F4E #4E9F56 #4E6F9F
split-complementary
#9F4E97 #6F9F4E #4E9F7F
monochromatic
#4D2649 #763A70 #9F4E97 #B971B2 #CD9AC8

Accessibility & contrast

On white

5.24
#9F4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9F4E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4E97
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4E97#FFFFFF#000000##FFFFFF
##9F4E971.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f4e97;
/* rgb */ color: rgb(159, 78, 151);
/* oklch */ color: oklch(55.0% 0.142 331.1);
Tailwind
colors: {
  custom: {
    50: '#bd83b6',
    500: '#9f4e97',
    950: '#000000',
  },
}
SCSS
$custom: #9f4e97;
$custom-light: #bd83b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4e97",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 305.926,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55001,
    "c": 0.14206,
    "h": 331.1
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#9F4E97
secondary
#8FBA93
accent
#CA685E
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9F4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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