#9B59F1#9B59F1

#9B59F1 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.219 H 299.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9B59F1
RGBrgb(155, 89, 241)
HSLhsl(266, 84%, 65%)
HSVhsv(266, 63%, 95%)
CMYKcmyk(35.7%, 63.1%, 0%, 5.5%)
CIE-LABlab(52.36, 56.65, -66.60)
CIE-LCHlch(52.36, 87.43, 310.38°)
OKLaboklab(61.38% 0.1091 -0.1894)
OKLCHoklch(61.38% 0.219 299.9)
XYZxyz(32.9632, 20.4639, 85.4153)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59F1 #AFF159
analogous
#5963F1 #9B59F1 #E759F1
triadic
#9B59F1 #F19B59 #59F19B
tetradic
#9B59F1 #F15963 #AFF159 #59F1E7
square
#9B59F1 #F15963 #AFF159 #59F1E7
split-complementary
#9B59F1 #F1E759 #63F159
monochromatic
#5C10BF #7921EC #9B59F1 #BD91F6 #DFCAFB

Accessibility & contrast

On white

4.12
#9B59F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9B59F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59F1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59F1#FFFFFF#000000##000000
##9B59F11.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#127CEE
Tritanopia (blue-blind)
#887B9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b59f1;
/* rgb */ color: rgb(155, 89, 241);
/* oklch */ color: oklch(61.4% 0.219 299.9);
Tailwind
colors: {
  custom: {
    50: '#be8bf6',
    500: '#9b59f1',
    950: '#000000',
  },
}
SCSS
$custom: #9b59f1;
$custom-light: #be8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59f1",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 241
  },
  "hsl": {
    "h": 266.053,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.21857,
    "h": 299.9
  },
  "luminance": 0.20464
}

Semantic roles & 50–950 ramp

primary
#9B59F1
secondary
#D6EDB9
accent
#E10581
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B59F1

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

Preview Lab → · Contrast checker → · Palette generator →

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