#9F59CE#9F59CE

#9F59CE is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.181 H 309.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9F59CE
RGBrgb(159, 89, 206)
HSLhsl(276, 54%, 58%)
HSVhsv(276, 57%, 81%)
CMYKcmyk(22.8%, 56.8%, 0%, 19.2%)
CIE-LABlab(50.65, 49.34, -49.51)
CIE-LCHlch(50.65, 69.90, 314.90°)
OKLaboklab(59.55% 0.1151 -0.1391)
OKLCHoklch(59.55% 0.181 309.6)
XYZxyz(29.0089, 18.9724, 60.5144)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F59CE #88CE59
analogous
#6459CE #9F59CE #CE59C3
triadic
#9F59CE #CE9F59 #59CE9F
tetradic
#9F59CE #CE6459 #88CE59 #59C3CE
square
#9F59CE #CE6459 #88CE59 #59C3CE
split-complementary
#9F59CE #C3CE59 #59CE64
monochromatic
#602785 #8135B5 #9F59CE #BA88DC #D6B8EA

Accessibility & contrast

On white

4.38
#9F59CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9F59CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F59CE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F59CE#FFFFFF#000000##000000
##9F59CE1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3275D2
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#996E8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9f59ce;
/* rgb */ color: rgb(159, 89, 206);
/* oklch */ color: oklch(59.6% 0.181 309.6);
Tailwind
colors: {
  custom: {
    50: '#be8bdd',
    500: '#9f59ce',
    950: '#000000',
  },
}
SCSS
$custom: #9f59ce;
$custom-light: #be8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f59ce",
  "rgb": {
    "r": 159,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 275.897,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59553,
    "c": 0.1806,
    "h": 309.6
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#9F59CE
secondary
#BDD9AA
accent
#DE4A85
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9F59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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