#9D59BF#9D59BF

#9D59BF is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.4% C 0.163 H 313.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9D59BF
RGBrgb(157, 89, 191)
HSLhsl(280, 44%, 55%)
HSVhsv(280, 53%, 75%)
CMYKcmyk(17.8%, 53.4%, 0%, 25.1%)
CIE-LABlab(49.59, 45.49, -42.60)
CIE-LCHlch(49.59, 62.32, 316.88°)
OKLaboklab(58.45% 0.1118 -0.119)
OKLCHoklch(58.45% 0.163 313.2)
XYZxyz(26.8794, 18.0751, 51.3530)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D59BF #7BBF59
analogous
#6A59BF #9D59BF #BF59AE
triadic
#9D59BF #BF9D59 #59BF9D
tetradic
#9D59BF #BF6A59 #7BBF59 #59AEBF
square
#9D59BF #BF6A59 #7BBF59 #59AEBF
split-complementary
#9D59BF #AEBF59 #59BF6A
monochromatic
#5A2C72 #7E3D9E #9D59BF #B785D0 #D1B1E1

Accessibility & contrast

On white

4.55
#9D59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9D59BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D59BF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D59BF#FFFFFF#000000##000000
##9D59BF1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#5578BC
Tritanopia (blue-blind)
#9A6A84
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d59bf;
/* rgb */ color: rgb(157, 89, 191);
/* oklch */ color: oklch(58.4% 0.163 313.2);
Tailwind
colors: {
  custom: {
    50: '#bc8ad3',
    500: '#9d59bf',
    950: '#000000',
  },
}
SCSS
$custom: #9d59bf;
$custom-light: #bc8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d59bf",
  "rgb": {
    "r": 157,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 280,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58449,
    "c": 0.16328,
    "h": 313.2
  },
  "luminance": 0.18074
}

Semantic roles & 50–950 ramp

primary
#9D59BF
secondary
#B3CFA4
accent
#D4547F
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9D59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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