#9B59AF#9B59AF

#9B59AF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.3% C 0.145 H 317.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9B59AF
RGBrgb(155, 89, 175)
HSLhsl(286, 35%, 52%)
HSVhsv(286, 49%, 69%)
CMYKcmyk(11.4%, 49.1%, 0%, 31.4%)
CIE-LABlab(48.52, 41.50, -34.99)
CIE-LCHlch(48.52, 54.28, 319.87°)
OKLaboklab(57.34% 0.1075 -0.097)
OKLCHoklch(57.34% 0.145 317.9)
XYZxyz(24.8267, 17.2093, 42.5631)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59AF #6DAF59
analogous
#7059AF #9B59AF #AF5998
triadic
#9B59AF #AF9B59 #59AF9B
tetradic
#9B59AF #AF7059 #6DAF59 #5998AF
square
#9B59AF #AF7059 #6DAF59 #5998AF
split-complementary
#9B59AF #98AF59 #59AF70
monochromatic
#542E60 #784289 #9B59AF #B482C3 #CDACD7

Accessibility & contrast

On white

4.73
#9B59AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9B59AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B59AF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59AF#FFFFFF#000000##FFFFFF
##9B59AF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#5D75AD
Tritanopia (blue-blind)
#9B657C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b59af;
/* rgb */ color: rgb(155, 89, 175);
/* oklch */ color: oklch(57.3% 0.145 317.9);
Tailwind
colors: {
  custom: {
    50: '#ba8ac7',
    500: '#9b59af',
    950: '#000000',
  },
}
SCSS
$custom: #9b59af;
$custom-light: #ba8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59af",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 286.047,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57341,
    "c": 0.1448,
    "h": 317.9
  },
  "luminance": 0.17208
}

Semantic roles & 50–950 ramp

primary
#9B59AF
secondary
#A8C59F
accent
#CB5D76
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #9B59AF

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

Preview Lab → · Contrast checker → · Palette generator →

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