#9B5E9B#9B5E9B

#9B5E9B is a mid, moderate purple. Relative luminance 0.173; OKLCH L 57.2% C 0.115 H 326.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9B5E9B
RGBrgb(155, 94, 155)
HSLhsl(300, 24%, 49%)
HSVhsv(300, 39%, 61%)
CMYKcmyk(0%, 39.4%, 0%, 39.2%)
CIE-LABlab(48.69, 34.71, -22.97)
CIE-LCHlch(48.69, 41.62, 326.50°)
OKLaboklab(57.17% 0.0962 -0.0626)
OKLCHoklch(57.17% 0.115 326.9)
XYZxyz(23.4362, 17.3416, 33.1168)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5E9B #5E9B5E
analogous
#7D5E9B #9B5E9B #9B5E7D
triadic
#9B5E9B #9B9B5E #5E9B9B
tetradic
#9B5E9B #9B7D5E #5E9B5E #5E7D9B
square
#9B5E9B #9B7D5E #5E9B5E #5E7D9B
split-complementary
#9B5E9B #7D9B5E #5E9B7D
monochromatic
#4F304F #754775 #9B5E9B #B483B4 #CBA9CB

Accessibility & contrast

On white

4.70
#9B5E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9B5E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B5E9B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5E9B#FFFFFF#000000##FFFFFF
##9B5E9B1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596F9D
Deuteranopia (green-blind)
#697699
Tritanopia (blue-blind)
#9F6475
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9b5e9b;
/* rgb */ color: rgb(155, 94, 155);
/* oklch */ color: oklch(57.2% 0.115 326.9);
Tailwind
colors: {
  custom: {
    50: '#ba8db8',
    500: '#9b5e9b',
    950: '#000000',
  },
}
SCSS
$custom: #9b5e9b;
$custom-light: #ba8db8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5e9b",
  "rgb": {
    "r": 155,
    "g": 94,
    "b": 155
  },
  "hsl": {
    "h": 300,
    "s": 24.498,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.11477,
    "h": 326.9
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#9B5E9B
secondary
#9CB99C
accent
#C16767
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#120C11
muted
#817D80

Preview Lab

Preview with #9B5E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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