#9F59DC#9F59DC

#9F59DC is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.4% C 0.196 H 306.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9F59DC
RGBrgb(159, 89, 220)
HSLhsl(272, 65%, 61%)
HSVhsv(272, 60%, 86%)
CMYKcmyk(27.7%, 59.5%, 0%, 13.7%)
CIE-LABlab(51.48, 52.53, -56.17)
CIE-LCHlch(51.48, 76.91, 313.08°)
OKLaboklab(60.42% 0.1152 -0.1587)
OKLCHoklch(60.42% 0.196 306)
XYZxyz(30.7860, 19.6833, 69.8737)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F59DC #96DC59
analogous
#5D59DC #9F59DC #DC59D7
triadic
#9F59DC #DC9F59 #59DC9F
tetradic
#9F59DC #DC5D59 #96DC59 #59D7DC
square
#9F59DC #DC5D59 #96DC59 #59D7DC
split-complementary
#9F59DC #D7DC59 #59DC5D
monochromatic
#61209A #812BCD #9F59DC #BC8CE7 #D9BEF1

Accessibility & contrast

On white

4.25
#9F59DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9F59DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F59DC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F59DC#FFFFFF#000000##000000
##9F59DC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C78E0
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#957392
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f59dc;
/* rgb */ color: rgb(159, 89, 220);
/* oklch */ color: oklch(60.4% 0.196 306.0);
Tailwind
colors: {
  custom: {
    50: '#bf8be7',
    500: '#9f59dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f59dc;
$custom-light: #bf8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f59dc",
  "rgb": {
    "r": 159,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 272.061,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.19609,
    "h": 306
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#9F59DC
secondary
#C7E1AF
accent
#CD186D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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