#9B5697#9B5697

#9B5697 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 55.7% C 0.125 H 329.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9B5697
RGBrgb(155, 86, 151)
HSLhsl(303, 29%, 47%)
HSVhsv(303, 45%, 61%)
CMYKcmyk(0%, 44.5%, 2.6%, 39.2%)
CIE-LABlab(46.79, 38.34, -23.53)
CIE-LCHlch(46.79, 44.98, 328.46°)
OKLaboklab(55.69% 0.1076 -0.0641)
OKLCHoklch(55.69% 0.125 329.2)
XYZxyz(22.4310, 15.8597, 31.1519)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B5697 #569B5A
analogous
#7C569B #9B5697 #9B5675
triadic
#9B5697 #979B56 #56979B
tetradic
#9B5697 #9B7C56 #569B5A #56759B
square
#9B5697 #9B7C56 #569B5A #56759B
split-complementary
#9B5697 #759B56 #569B7C
monochromatic
#4C2A4A #744071 #9B5697 #B579B1 #CBA1C8

Accessibility & contrast

On white

5.03
#9B5697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9B5697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B5697
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B5697#FFFFFF#000000##FFFFFF
##9B56971.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#657295
Tritanopia (blue-blind)
#9F5C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b5697;
/* rgb */ color: rgb(155, 86, 151);
/* oklch */ color: oklch(55.7% 0.125 329.2);
Tailwind
colors: {
  custom: {
    50: '#ba88b5',
    500: '#9b5697',
    950: '#000000',
  },
}
SCSS
$custom: #9b5697;
$custom-light: #ba88b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b5697",
  "rgb": {
    "r": 155,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 303.478,
    "s": 28.631,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.12529,
    "h": 329.2
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#9B5697
secondary
#95B897
accent
#C56963
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #9B5697

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

Preview Lab → · Contrast checker → · Palette generator →

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