#9B58CC#9B58CC

#9B58CC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.179 H 308.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9B58CC
RGBrgb(155, 88, 204)
HSLhsl(275, 53%, 57%)
HSVhsv(275, 57%, 80%)
CMYKcmyk(24%, 56.9%, 0%, 20%)
CIE-LABlab(49.87, 48.40, -49.65)
CIE-LCHlch(49.87, 69.34, 314.27°)
OKLaboklab(58.84% 0.1113 -0.1397)
OKLCHoklch(58.84% 0.179 308.6)
XYZxyz(27.9042, 18.3081, 59.1788)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58CC #89CC58
analogous
#6158CC #9B58CC #CC58C3
triadic
#9B58CC #CC9B58 #58CC9B
tetradic
#9B58CC #CC6158 #89CC58 #58C3CC
square
#9B58CC #CC6158 #89CC58 #58C3CC
split-complementary
#9B58CC #C3CC58 #58CC61
monochromatic
#5C2882 #7D36B1 #9B58CC #B787DA #D3B6E9

Accessibility & contrast

On white

4.50
#9B58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9B58CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58CC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58CC#FFFFFF#000000##000000
##9B58CC1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#946D8A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b58cc;
/* rgb */ color: rgb(155, 88, 204);
/* oklch */ color: oklch(58.8% 0.179 308.6);
Tailwind
colors: {
  custom: {
    50: '#bb8adc',
    500: '#9b58cc',
    950: '#000000',
  },
}
SCSS
$custom: #9b58cc;
$custom-light: #bb8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58cc",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 274.655,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58835,
    "c": 0.17859,
    "h": 308.6
  },
  "luminance": 0.18308
}

Semantic roles & 50–950 ramp

primary
#9B58CC
secondary
#BCD7A8
accent
#DD4B89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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