#9B59E4#9B59E4

#9B59E4 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.204 H 302.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9B59E4
RGBrgb(155, 89, 228)
HSLhsl(268, 72%, 62%)
HSVhsv(268, 61%, 89%)
CMYKcmyk(32%, 61%, 0%, 10.6%)
CIE-LABlab(51.51, 53.50, -60.66)
CIE-LCHlch(51.51, 80.88, 311.41°)
OKLaboklab(60.5% 0.1099 -0.1719)
OKLCHoklch(60.5% 0.204 302.6)
XYZxyz(31.0903, 19.7147, 75.5511)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59E4 #A2E459
analogous
#595DE4 #9B59E4 #E059E4
triadic
#9B59E4 #E49B59 #59E49B
tetradic
#9B59E4 #E4595D #A2E459 #59E4E0
square
#9B59E4 #E4595D #A2E459 #59E4E0
split-complementary
#9B59E4 #E4E059 #5DE459
monochromatic
#5E1BA7 #7B24DB #9B59E4 #BB8EED #DAC2F5

Accessibility & contrast

On white

4.25
#9B59E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9B59E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59E4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59E4#FFFFFF#000000##000000
##9B59E41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#307AE1
Tritanopia (blue-blind)
#8D7696
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b59e4;
/* rgb */ color: rgb(155, 89, 228);
/* oklch */ color: oklch(60.5% 0.204 302.6);
Tailwind
colors: {
  custom: {
    50: '#bd8bed',
    500: '#9b59e4',
    950: '#000000',
  },
}
SCSS
$custom: #9b59e4;
$custom-light: #bd8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59e4",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 268.489,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60501,
    "c": 0.20406,
    "h": 302.6
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#9B59E4
secondary
#CEE6B3
accent
#D41178
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B59E4

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

Preview Lab → · Contrast checker → · Palette generator →

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