#9B59AE#9B59AE

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

Color values

HEX#9B59AE
RGBrgb(155, 89, 174)
HSLhsl(287, 34%, 52%)
HSVhsv(287, 49%, 68%)
CMYKcmyk(10.9%, 48.9%, 0%, 31.8%)
CIE-LABlab(48.47, 41.29, -34.48)
CIE-LCHlch(48.47, 53.80, 320.14°)
OKLaboklab(57.29% 0.1074 -0.0955)
OKLCHoklch(57.29% 0.144 318.3)
XYZxyz(24.7289, 17.1702, 42.0477)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59AE #6CAE59
analogous
#7159AE #9B59AE #AE5997
triadic
#9B59AE #AE9B59 #59AE9B
tetradic
#9B59AE #AE7159 #6CAE59 #5997AE
square
#9B59AE #AE7159 #6CAE59 #5997AE
split-complementary
#9B59AE #97AE59 #59AE71
monochromatic
#542E5E #784288 #9B59AE #B482C2 #CDABD6

Accessibility & contrast

On white

4.74
#9B59AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9B59AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B59AE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59AE#FFFFFF#000000##FFFFFF
##9B59AE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB1
Deuteranopia (green-blind)
#5D75AC
Tritanopia (blue-blind)
#9B657B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9b59ae;
/* rgb */ color: rgb(155, 89, 174);
/* oklch */ color: oklch(57.3% 0.144 318.3);
Tailwind
colors: {
  custom: {
    50: '#ba8ac6',
    500: '#9b59ae',
    950: '#000000',
  },
}
SCSS
$custom: #9b59ae;
$custom-light: #ba8ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59ae",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 286.588,
    "s": 34.413,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.14372,
    "h": 318.3
  },
  "luminance": 0.17169
}

Semantic roles & 50–950 ramp

primary
#9B59AE
secondary
#A7C49F
accent
#CA5D76
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #9B59AE

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

Preview Lab → · Contrast checker → · Palette generator →

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