#9B59E9#9B59E9

#9B59E9 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.210 H 301.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9B59E9
RGBrgb(155, 89, 233)
HSLhsl(268, 77%, 63%)
HSVhsv(268, 62%, 91%)
CMYKcmyk(33.5%, 61.8%, 0%, 8.6%)
CIE-LABlab(51.83, 54.70, -62.96)
CIE-LCHlch(51.83, 83.40, 310.99°)
OKLaboklab(60.83% 0.1096 -0.1787)
OKLCHoklch(60.83% 0.21 301.5)
XYZxyz(31.7944, 19.9964, 79.2596)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59E9 #A7E959
analogous
#595FE9 #9B59E9 #E359E9
triadic
#9B59E9 #E99B59 #59E99B
tetradic
#9B59E9 #E9595F #A7E959 #59E9E3
square
#9B59E9 #E9595F #A7E959 #59E9E3
split-complementary
#9B59E9 #E9E359 #5FE959
monochromatic
#5D17B0 #7A23E2 #9B59E9 #BC8FF0 #DCC5F7

Accessibility & contrast

On white

4.20
#9B59E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9B59E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59E9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59E9#FFFFFF#000000##000000
##9B59E91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#277BE6
Tritanopia (blue-blind)
#8B7899
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b59e9;
/* rgb */ color: rgb(155, 89, 233);
/* oklch */ color: oklch(60.8% 0.210 301.5);
Tailwind
colors: {
  custom: {
    50: '#bd8bf1',
    500: '#9b59e9',
    950: '#000000',
  },
}
SCSS
$custom: #9b59e9;
$custom-light: #bd8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59e9",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 267.5,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.20965,
    "h": 301.5
  },
  "luminance": 0.19997
}

Semantic roles & 50–950 ramp

primary
#9B59E9
secondary
#D1E9B5
accent
#D90D7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B59E9

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

Preview Lab → · Contrast checker → · Palette generator →

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