#9B59CA#9B59CA

#9B59CA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.175 H 309.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9B59CA
RGBrgb(155, 89, 202)
HSLhsl(275, 52%, 57%)
HSVhsv(275, 56%, 79%)
CMYKcmyk(23.3%, 55.9%, 0%, 20.8%)
CIE-LABlab(49.95, 47.42, -48.37)
CIE-LCHlch(49.95, 67.74, 314.43°)
OKLaboklab(58.86% 0.11 -0.1359)
OKLCHoklch(58.86% 0.175 309)
XYZxyz(27.7485, 18.3780, 57.9512)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59CA #88CA59
analogous
#6359CA #9B59CA #CA59C1
triadic
#9B59CA #CA9B59 #59CA9B
tetradic
#9B59CA #CA6359 #88CA59 #59C1CA
square
#9B59CA #CA6359 #88CA59 #59C1CA
split-complementary
#9B59CA #C1CA59 #59CA63
monochromatic
#5C2980 #7D38AE #9B59CA #B787D9 #D3B6E8

Accessibility & contrast

On white

4.49
#9B59CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9B59CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59CA#FFFFFF#000000##000000
##9B59CA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#4C78C7
Tritanopia (blue-blind)
#946E89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b59ca;
/* rgb */ color: rgb(155, 89, 202);
/* oklch */ color: oklch(58.9% 0.175 309.0);
Tailwind
colors: {
  custom: {
    50: '#bb8adb',
    500: '#9b59ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b59ca;
$custom-light: #bb8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59ca",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 275.044,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5886,
    "c": 0.17482,
    "h": 309
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#9B59CA
secondary
#BCD6A8
accent
#DB4D88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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