#9D59BB#9D59BB

#9D59BB is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.2% C 0.159 H 314.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9D59BB
RGBrgb(157, 89, 187)
HSLhsl(282, 42%, 54%)
HSVhsv(282, 52%, 73%)
CMYKcmyk(16%, 52.4%, 0%, 26.7%)
CIE-LABlab(49.38, 44.62, -40.62)
CIE-LCHlch(49.38, 60.34, 317.69°)
OKLaboklab(58.23% 0.1114 -0.1132)
OKLCHoklch(58.23% 0.159 314.5)
XYZxyz(26.4452, 17.9014, 49.0663)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59BB #77BB59
analogous
#6C59BB #9D59BB #BB59A8
triadic
#9D59BB #BB9D59 #59BB9D
tetradic
#9D59BB #BB6C59 #77BB59 #59A8BB
square
#9D59BB #BB6C59 #77BB59 #59A8BB
split-complementary
#9D59BB #A8BB59 #59BB6C
monochromatic
#592D6D #7D3E98 #9D59BB #B784CD #D0B0DF

Accessibility & contrast

On white

4.58
#9D59BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9D59BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59BB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59BB#FFFFFF#000000##000000
##9D59BB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#9B6982
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d59bb;
/* rgb */ color: rgb(157, 89, 187);
/* oklch */ color: oklch(58.2% 0.159 314.5);
Tailwind
colors: {
  custom: {
    50: '#bc8ad0',
    500: '#9d59bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d59bb;
$custom-light: #bc8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59bb",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 281.633,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.15887,
    "h": 314.5
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#9D59BB
secondary
#B0CDA3
accent
#D2567C
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9D59BB

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

Preview Lab → · Contrast checker → · Palette generator →

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