#9E59BF#9E59BF

#9E59BF is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.6% C 0.164 H 313.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9E59BF
RGBrgb(158, 89, 191)
HSLhsl(281, 44%, 55%)
HSVhsv(281, 53%, 75%)
CMYKcmyk(17.3%, 53.4%, 0%, 25.1%)
CIE-LABlab(49.71, 45.76, -42.40)
CIE-LCHlch(49.71, 62.38, 317.18°)
OKLaboklab(58.57% 0.113 -0.1184)
OKLCHoklch(58.57% 0.164 313.7)
XYZxyz(27.0753, 18.1762, 51.3622)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E59BF #7ABF59
analogous
#6B59BF #9E59BF #BF59AD
triadic
#9E59BF #BF9E59 #59BF9E
tetradic
#9E59BF #BF6B59 #7ABF59 #59ADBF
square
#9E59BF #BF6B59 #7ABF59 #59ADBF
split-complementary
#9E59BF #ADBF59 #59BF6B
monochromatic
#5B2C72 #7F3D9E #9E59BF #B885D0 #D2B1E1

Accessibility & contrast

On white

4.53
#9E59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9E59BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E59BF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E59BF#FFFFFF#000000##000000
##9E59BF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4072C2
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#9B6A84
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9e59bf;
/* rgb */ color: rgb(158, 89, 191);
/* oklch */ color: oklch(58.6% 0.164 313.7);
Tailwind
colors: {
  custom: {
    50: '#bd8ad3',
    500: '#9e59bf',
    950: '#000000',
  },
}
SCSS
$custom: #9e59bf;
$custom-light: #bd8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e59bf",
  "rgb": {
    "r": 158,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 280.588,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58565,
    "c": 0.16368,
    "h": 313.7
  },
  "luminance": 0.18175
}

Semantic roles & 50–950 ramp

primary
#9E59BF
secondary
#B2CFA4
accent
#D4547D
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #9E59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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