#9B59ED#9B59ED

#9B59ED is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.214 H 300.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9B59ED
RGBrgb(155, 89, 237)
HSLhsl(267, 80%, 64%)
HSVhsv(267, 62%, 93%)
CMYKcmyk(34.6%, 62.4%, 0%, 7.1%)
CIE-LABlab(52.09, 55.67, -64.78)
CIE-LCHlch(52.09, 85.42, 310.67°)
OKLaboklab(61.11% 0.1094 -0.1841)
OKLCHoklch(61.11% 0.214 300.7)
XYZxyz(32.3723, 20.2275, 82.3031)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59ED #ABED59
analogous
#5961ED #9B59ED #E559ED
triadic
#9B59ED #ED9B59 #59ED9B
tetradic
#9B59ED #ED5961 #ABED59 #59EDE5
square
#9B59ED #ED5961 #ABED59 #59EDE5
split-complementary
#9B59ED #EDE559 #61ED59
monochromatic
#5D14B8 #7A22E7 #9B59ED #BC90F3 #DEC7F9

Accessibility & contrast

On white

4.16
#9B59ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9B59ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59ED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59ED#FFFFFF#000000##000000
##9B59ED1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#1E7BEA
Tritanopia (blue-blind)
#8A799B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b59ed;
/* rgb */ color: rgb(155, 89, 237);
/* oklch */ color: oklch(61.1% 0.214 300.7);
Tailwind
colors: {
  custom: {
    50: '#be8bf4',
    500: '#9b59ed',
    950: '#000000',
  },
}
SCSS
$custom: #9b59ed;
$custom-light: #be8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59ed",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 237
  },
  "hsl": {
    "h": 266.757,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.21412,
    "h": 300.7
  },
  "luminance": 0.20228
}

Semantic roles & 50–950 ramp

primary
#9B59ED
secondary
#D4EBB7
accent
#DD097E
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B59ED

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

Preview Lab → · Contrast checker → · Palette generator →

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