#9B59EE#9B59EE

#9B59EE is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.215 H 300.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9B59EE
RGBrgb(155, 89, 238)
HSLhsl(267, 81%, 64%)
HSVhsv(267, 63%, 93%)
CMYKcmyk(34.9%, 62.6%, 0%, 6.7%)
CIE-LABlab(52.16, 55.92, -65.24)
CIE-LCHlch(52.16, 85.92, 310.60°)
OKLaboklab(61.18% 0.1093 -0.1854)
OKLCHoklch(61.18% 0.215 300.5)
XYZxyz(32.5188, 20.2861, 83.0747)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59EE #ACEE59
analogous
#5962EE #9B59EE #E559EE
triadic
#9B59EE #EE9B59 #59EE9B
tetradic
#9B59EE #EE5962 #ACEE59 #59EEE5
square
#9B59EE #EE5962 #ACEE59 #59EEE5
split-complementary
#9B59EE #EEE559 #62EE59
monochromatic
#5D13BA #7A21E8 #9B59EE #BC91F4 #DEC8F9

Accessibility & contrast

On white

4.15
#9B59EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9B59EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59EE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59EE#FFFFFF#000000##000000
##9B59EE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#1C7BEB
Tritanopia (blue-blind)
#897A9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b59ee;
/* rgb */ color: rgb(155, 89, 238);
/* oklch */ color: oklch(61.2% 0.215 300.5);
Tailwind
colors: {
  custom: {
    50: '#be8bf4',
    500: '#9b59ee',
    950: '#000000',
  },
}
SCSS
$custom: #9b59ee;
$custom-light: #be8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59ee",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 266.577,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.21523,
    "h": 300.5
  },
  "luminance": 0.20286
}

Semantic roles & 50–950 ramp

primary
#9B59EE
secondary
#D4EBB7
accent
#DE087F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B59EE

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

Preview Lab → · Contrast checker → · Palette generator →

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