#9B59E6#9B59E6

#9B59E6 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.206 H 302.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9B59E6
RGBrgb(155, 89, 230)
HSLhsl(268, 74%, 63%)
HSVhsv(268, 61%, 90%)
CMYKcmyk(32.6%, 61.3%, 0%, 9.8%)
CIE-LABlab(51.64, 53.98, -61.58)
CIE-LCHlch(51.64, 81.89, 311.24°)
OKLaboklab(60.63% 0.1098 -0.1747)
OKLCHoklch(60.63% 0.206 302.2)
XYZxyz(31.3695, 19.8264, 77.0218)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59E6 #A4E659
analogous
#595EE6 #9B59E6 #E159E6
triadic
#9B59E6 #E69B59 #59E69B
tetradic
#9B59E6 #E6595E #A4E659 #59E6E1
square
#9B59E6 #E6595E #A4E659 #59E6E1
split-complementary
#9B59E6 #E6E159 #5EE659
monochromatic
#5E1AAB #7B24DE #9B59E6 #BB8EEE #DBC3F6

Accessibility & contrast

On white

4.23
#9B59E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9B59E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59E6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59E6#FFFFFF#000000##000000
##9B59E61.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#2D7BE3
Tritanopia (blue-blind)
#8C7797
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b59e6;
/* rgb */ color: rgb(155, 89, 230);
/* oklch */ color: oklch(60.6% 0.206 302.2);
Tailwind
colors: {
  custom: {
    50: '#bd8bef',
    500: '#9b59e6',
    950: '#000000',
  },
}
SCSS
$custom: #9b59e6;
$custom-light: #bd8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59e6",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 268.085,
    "s": 73.822,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.2063,
    "h": 302.2
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#9B59E6
secondary
#CFE7B4
accent
#D61079
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B59E6

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

Preview Lab → · Contrast checker → · Palette generator →

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