#9E5B97#9E5B97

#9E5B97 is a mid, moderate purple. Relative luminance 0.170; OKLCH L 56.9% C 0.118 H 330.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9E5B97
RGBrgb(158, 91, 151)
HSLhsl(306, 27%, 49%)
HSVhsv(306, 42%, 62%)
CMYKcmyk(0%, 42.4%, 4.4%, 38%)
CIE-LABlab(48.24, 36.58, -21.25)
CIE-LCHlch(48.24, 42.31, 329.84°)
OKLaboklab(56.86% 0.1035 -0.0577)
OKLCHoklch(56.86% 0.118 330.9)
XYZxyz(23.4273, 16.9869, 31.3170)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E5B97 #5B9E62
analogous
#845B9E #9E5B97 #9E5B76
triadic
#9E5B97 #979E5B #5B979E
tetradic
#9E5B97 #9E845B #5B9E62 #5B769E
square
#9E5B97 #9E845B #5B9E62 #5B769E
split-complementary
#9E5B97 #769E5B #5B9E84
monochromatic
#502E4D #774572 #9E5B97 #B680B0 #CCA7C8

Accessibility & contrast

On white

4.78
#9E5B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9E5B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E5B97
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E5B97#FFFFFF#000000##FFFFFF
##9E5B971.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596D99
Deuteranopia (green-blind)
#6A7695
Tritanopia (blue-blind)
#A36072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9e5b97;
/* rgb */ color: rgb(158, 91, 151);
/* oklch */ color: oklch(56.9% 0.118 330.9);
Tailwind
colors: {
  custom: {
    50: '#bc8bb5',
    500: '#9e5b97',
    950: '#000000',
  },
}
SCSS
$custom: #9e5b97;
$custom-light: #bc8bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e5b97",
  "rgb": {
    "r": 158,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 306.269,
    "s": 26.908,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.11849,
    "h": 330.9
  },
  "luminance": 0.16986
}

Semantic roles & 50–950 ramp

primary
#9E5B97
secondary
#9ABA9E
accent
#C36E65
background
#FBF8FB
surface
#F7F0F6
border
#D0CBD0
text
#120C11
muted
#817D80

Preview Lab

Preview with #9E5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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