#9F59BF#9F59BF

#9F59BF is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.7% C 0.164 H 314.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9F59BF
RGBrgb(159, 89, 191)
HSLhsl(281, 44%, 55%)
HSVhsv(281, 53%, 75%)
CMYKcmyk(16.8%, 53.4%, 0%, 25.1%)
CIE-LABlab(49.83, 46.03, -42.20)
CIE-LCHlch(49.83, 62.44, 317.49°)
OKLaboklab(58.68% 0.1143 -0.1178)
OKLCHoklch(58.68% 0.164 314.1)
XYZxyz(27.2729, 18.2780, 51.3715)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F59BF #79BF59
analogous
#6C59BF #9F59BF #BF59AC
triadic
#9F59BF #BF9F59 #59BF9F
tetradic
#9F59BF #BF6C59 #79BF59 #59ACBF
square
#9F59BF #BF6C59 #79BF59 #59ACBF
split-complementary
#9F59BF #ACBF59 #59BF6C
monochromatic
#5C2C72 #7F3D9E #9F59BF #B985D0 #D2B1E1

Accessibility & contrast

On white

4.51
#9F59BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9F59BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F59BF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F59BF#FFFFFF#000000##000000
##9F59BF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4073C2
Deuteranopia (green-blind)
#5778BC
Tritanopia (blue-blind)
#9C6A84
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f59bf;
/* rgb */ color: rgb(159, 89, 191);
/* oklch */ color: oklch(58.7% 0.164 314.1);
Tailwind
colors: {
  custom: {
    50: '#be8ad3',
    500: '#9f59bf',
    950: '#000000',
  },
}
SCSS
$custom: #9f59bf;
$custom-light: #be8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f59bf",
  "rgb": {
    "r": 159,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 281.176,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58682,
    "c": 0.1641,
    "h": 314.1
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F59BF

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

Preview Lab → · Contrast checker → · Palette generator →

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