#9B59DF#9B59DF

#9B59DF is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.2% C 0.198 H 303.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9B59DF
RGBrgb(155, 89, 223)
HSLhsl(270, 68%, 61%)
HSVhsv(270, 60%, 87%)
CMYKcmyk(30.5%, 60.1%, 0%, 12.5%)
CIE-LABlab(51.20, 52.31, -58.34)
CIE-LCHlch(51.20, 78.36, 311.88°)
OKLaboklab(60.17% 0.1101 -0.1651)
OKLCHoklch(60.17% 0.198 303.7)
XYZxyz(30.4062, 19.4411, 71.9484)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59DF #9DDF59
analogous
#595ADF #9B59DF #DE59DF
triadic
#9B59DF #DF9B59 #59DF9B
tetradic
#9B59DF #DF595A #9DDF59 #59DFDE
square
#9B59DF #DF595A #9DDF59 #59DFDE
split-complementary
#9B59DF #DFDE59 #5ADF59
monochromatic
#5E1F9F #7C29D2 #9B59DF #BA8CE9 #D9C0F3

Accessibility & contrast

On white

4.30
#9B59DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9B59DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59DF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59DF#FFFFFF#000000##000000
##9B59DF1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D78E3
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#8E7494
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b59df;
/* rgb */ color: rgb(155, 89, 223);
/* oklch */ color: oklch(60.2% 0.198 303.7);
Tailwind
colors: {
  custom: {
    50: '#bd8bea',
    500: '#9b59df',
    950: '#000000',
  },
}
SCSS
$custom: #9b59df;
$custom-light: #bd8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59df",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 269.552,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60173,
    "c": 0.19846,
    "h": 303.7
  },
  "luminance": 0.19441
}

Semantic roles & 50–950 ramp

primary
#9B59DF
secondary
#CAE3B1
accent
#D01674
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B59DF

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

Preview Lab → · Contrast checker → · Palette generator →

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