#9B59A2#9B59A2

#9B59A2 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 56.7% C 0.131 H 323.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9B59A2
RGBrgb(155, 89, 162)
HSLhsl(294, 29%, 49%)
HSVhsv(294, 45%, 64%)
CMYKcmyk(4.3%, 45.1%, 0%, 36.5%)
CIE-LABlab(47.91, 38.84, -28.31)
CIE-LCHlch(47.91, 48.07, 323.91°)
OKLaboklab(56.68% 0.1054 -0.0778)
OKLCHoklch(56.68% 0.131 323.6)
XYZxyz(23.6109, 16.7230, 36.1596)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59A2 #60A259
analogous
#7759A2 #9B59A2 #A25985
triadic
#9B59A2 #A29B59 #59A29B
tetradic
#9B59A2 #A27759 #60A259 #5985A2
square
#9B59A2 #A27759 #60A259 #5985A2
split-complementary
#9B59A2 #85A259 #59A277
monochromatic
#4F2E53 #75437B #9B59A2 #B37FB9 #CBA7CF

Accessibility & contrast

On white

4.83
#9B59A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9B59A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B59A2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59A2#FFFFFF#000000##FFFFFF
##9B59A21.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506DA5
Deuteranopia (green-blind)
#6374A0
Tritanopia (blue-blind)
#9D6176
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9b59a2;
/* rgb */ color: rgb(155, 89, 162);
/* oklch */ color: oklch(56.7% 0.131 323.6);
Tailwind
colors: {
  custom: {
    50: '#ba8abe',
    500: '#9b59a2',
    950: '#000000',
  },
}
SCSS
$custom: #9b59a2;
$custom-light: #ba8abe;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59a2",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 294.247,
    "s": 29.084,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.13096,
    "h": 323.6
  },
  "luminance": 0.16722
}

Semantic roles & 50–950 ramp

primary
#9B59A2
secondary
#9EBC9A
accent
#C5626C
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #9B59A2

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

Preview Lab → · Contrast checker → · Palette generator →

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