#9B59E8#9B59E8

#9B59E8 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.209 H 301.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9B59E8
RGBrgb(155, 89, 232)
HSLhsl(268, 76%, 63%)
HSVhsv(268, 62%, 91%)
CMYKcmyk(33.2%, 61.6%, 0%, 9%)
CIE-LABlab(51.77, 54.46, -62.50)
CIE-LCHlch(51.77, 82.90, 311.07°)
OKLaboklab(60.77% 0.1097 -0.1774)
OKLCHoklch(60.77% 0.209 301.7)
XYZxyz(31.6520, 19.9394, 78.5094)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59E8 #A6E859
analogous
#595FE8 #9B59E8 #E259E8
triadic
#9B59E8 #E89B59 #59E89B
tetradic
#9B59E8 #E8595F #A6E859 #59E8E2
square
#9B59E8 #E8595F #A6E859 #59E8E2
split-complementary
#9B59E8 #E8E259 #5FE859
monochromatic
#5E18AE #7B23E1 #9B59E8 #BB8FEF #DCC5F7

Accessibility & contrast

On white

4.21
#9B59E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9B59E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59E8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59E8#FFFFFF#000000##000000
##9B59E81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#297BE5
Tritanopia (blue-blind)
#8B7898
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b59e8;
/* rgb */ color: rgb(155, 89, 232);
/* oklch */ color: oklch(60.8% 0.209 301.7);
Tailwind
colors: {
  custom: {
    50: '#bd8bf0',
    500: '#9b59e8',
    950: '#000000',
  },
}
SCSS
$custom: #9b59e8;
$custom-light: #bd8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59e8",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 267.692,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.20853,
    "h": 301.7
  },
  "luminance": 0.1994
}

Semantic roles & 50–950 ramp

primary
#9B59E8
secondary
#D0E8B5
accent
#D80E7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B59E8

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

Preview Lab → · Contrast checker → · Palette generator →

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