#9B59E1#9B59E1

#9B59E1 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.201 H 303.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9B59E1
RGBrgb(155, 89, 225)
HSLhsl(269, 69%, 62%)
HSVhsv(269, 60%, 88%)
CMYKcmyk(31.1%, 60.4%, 0%, 11.8%)
CIE-LABlab(51.32, 52.79, -59.27)
CIE-LCHlch(51.32, 79.37, 311.69°)
OKLaboklab(60.3% 0.11 -0.1679)
OKLCHoklch(60.3% 0.201 303.2)
XYZxyz(30.6775, 19.5496, 73.3768)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59E1 #9FE159
analogous
#595BE1 #9B59E1 #DF59E1
triadic
#9B59E1 #E19B59 #59E19B
tetradic
#9B59E1 #E1595B #9FE159 #59E1DF
square
#9B59E1 #E1595B #9FE159 #59E1DF
split-complementary
#9B59E1 #E1DF59 #5BE159
monochromatic
#5E1DA2 #7C27D6 #9B59E1 #BA8DEA #D9C1F4

Accessibility & contrast

On white

4.28
#9B59E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9B59E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59E1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59E1#FFFFFF#000000##000000
##9B59E11.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0379E5
Deuteranopia (green-blind)
#347ADE
Tritanopia (blue-blind)
#8E7595
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b59e1;
/* rgb */ color: rgb(155, 89, 225);
/* oklch */ color: oklch(60.3% 0.201 303.2);
Tailwind
colors: {
  custom: {
    50: '#bd8beb',
    500: '#9b59e1',
    950: '#000000',
  },
}
SCSS
$custom: #9b59e1;
$custom-light: #bd8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59e1",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 225
  },
  "hsl": {
    "h": 269.118,
    "s": 69.388,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60303,
    "c": 0.2007,
    "h": 303.2
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#9B59E1
secondary
#CCE4B2
accent
#D11476
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B59E1

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

Preview Lab → · Contrast checker → · Palette generator →

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