#9B59EA#9B59EA

#9B59EA is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.211 H 301.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9B59EA
RGBrgb(155, 89, 234)
HSLhsl(267, 78%, 63%)
HSVhsv(267, 62%, 92%)
CMYKcmyk(33.8%, 62%, 0%, 8.2%)
CIE-LABlab(51.90, 54.95, -63.42)
CIE-LCHlch(51.90, 83.91, 310.91°)
OKLaboklab(60.9% 0.1096 -0.18)
OKLCHoklch(60.9% 0.211 301.3)
XYZxyz(31.9377, 20.0537, 80.0141)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59EA #A8EA59
analogous
#595FEA #9B59EA #E359EA
triadic
#9B59EA #EA9B59 #59EA9B
tetradic
#9B59EA #EA595F #A8EA59 #59EAE3
square
#9B59EA #EA595F #A8EA59 #59EAE3
split-complementary
#9B59EA #EAE359 #5FEA59
monochromatic
#5D17B2 #7A23E3 #9B59EA #BC8FF1 #DCC6F8

Accessibility & contrast

On white

4.19
#9B59EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9B59EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59EA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59EA#FFFFFF#000000##000000
##9B59EA1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEF
Deuteranopia (green-blind)
#257BE7
Tritanopia (blue-blind)
#8B7899
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b59ea;
/* rgb */ color: rgb(155, 89, 234);
/* oklch */ color: oklch(60.9% 0.211 301.3);
Tailwind
colors: {
  custom: {
    50: '#bd8bf2',
    500: '#9b59ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b59ea;
$custom-light: #bd8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59ea",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 267.31,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.21077,
    "h": 301.3
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

primary
#9B59EA
secondary
#D2E9B6
accent
#DA0C7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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