#9B59E7#9B59E7

#9B59E7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.207 H 301.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9B59E7
RGBrgb(155, 89, 231)
HSLhsl(268, 75%, 63%)
HSVhsv(268, 61%, 91%)
CMYKcmyk(32.9%, 61.5%, 0%, 9.4%)
CIE-LABlab(51.70, 54.22, -62.04)
CIE-LCHlch(51.70, 82.40, 311.15°)
OKLaboklab(60.7% 0.1097 -0.176)
OKLCHoklch(60.7% 0.207 301.9)
XYZxyz(31.5104, 19.8828, 77.7635)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59E7 #A5E759
analogous
#595EE7 #9B59E7 #E259E7
triadic
#9B59E7 #E79B59 #59E79B
tetradic
#9B59E7 #E7595E #A5E759 #59E7E2
square
#9B59E7 #E7595E #A5E759 #59E7E2
split-complementary
#9B59E7 #E7E259 #5EE759
monochromatic
#5E19AD #7B24DF #9B59E7 #BB8EEF #DBC4F6

Accessibility & contrast

On white

4.22
#9B59E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9B59E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59E7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59E7#FFFFFF#000000##000000
##9B59E71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#2B7BE4
Tritanopia (blue-blind)
#8C7798
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b59e7;
/* rgb */ color: rgb(155, 89, 231);
/* oklch */ color: oklch(60.7% 0.207 301.9);
Tailwind
colors: {
  custom: {
    50: '#bd8bef',
    500: '#9b59e7',
    950: '#000000',
  },
}
SCSS
$custom: #9b59e7;
$custom-light: #bd8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59e7",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 231
  },
  "hsl": {
    "h": 267.887,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60701,
    "c": 0.20742,
    "h": 301.9
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#9B59E7
secondary
#D0E8B4
accent
#D70F7A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B59E7

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

Preview Lab → · Contrast checker → · Palette generator →

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