#9B5397#9B5397

#9B5397 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.2% C 0.131 H 329.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9B5397
RGBrgb(155, 83, 151)
HSLhsl(303, 30%, 47%)
HSVhsv(303, 46%, 61%)
CMYKcmyk(0%, 46.5%, 2.6%, 39.2%)
CIE-LABlab(46.16, 39.95, -24.50)
CIE-LCHlch(46.16, 46.87, 328.49°)
OKLaboklab(55.22% 0.1122 -0.0668)
OKLCHoklch(55.22% 0.131 329.2)
XYZxyz(22.1964, 15.3906, 31.0737)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5397 #539B57
analogous
#7B539B #9B5397 #9B5373
triadic
#9B5397 #979B53 #53979B
tetradic
#9B5397 #9B7B53 #539B57 #53739B
square
#9B5397 #9B7B53 #539B57 #53739B
split-complementary
#9B5397 #739B53 #539B7B
monochromatic
#4B2849 #733E70 #9B5397 #B576B2 #CB9EC8

Accessibility & contrast

On white

5.15
#9B5397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9B5397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B5397
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5397#FFFFFF#000000##FFFFFF
##9B53971.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6799
Deuteranopia (green-blind)
#637195
Tritanopia (blue-blind)
#A0596E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b5397;
/* rgb */ color: rgb(155, 83, 151);
/* oklch */ color: oklch(55.2% 0.131 329.2);
Tailwind
colors: {
  custom: {
    50: '#ba86b6',
    500: '#9b5397',
    950: '#000000',
  },
}
SCSS
$custom: #9b5397;
$custom-light: #ba86b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5397",
  "rgb": {
    "r": 155,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 303.333,
    "s": 30.252,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55224,
    "c": 0.1306,
    "h": 329.2
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#9B5397
secondary
#92B894
accent
#C66761
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9B5397

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

Preview Lab → · Contrast checker → · Palette generator →

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