#9B58CB#9B58CB

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

Color values

HEX#9B58CB
RGBrgb(155, 88, 203)
HSLhsl(275, 53%, 57%)
HSVhsv(275, 57%, 80%)
CMYKcmyk(23.6%, 56.7%, 0%, 20.4%)
CIE-LABlab(49.81, 48.17, -49.17)
CIE-LCHlch(49.81, 68.84, 314.41°)
OKLaboklab(58.77% 0.1113 -0.1383)
OKLCHoklch(58.77% 0.177 308.8)
XYZxyz(27.7847, 18.2602, 58.5492)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58CB #88CB58
analogous
#6258CB #9B58CB #CB58C1
triadic
#9B58CB #CB9B58 #58CB9B
tetradic
#9B58CB #CB6258 #88CB58 #58C1CB
square
#9B58CB #CB6258 #88CB58 #58C1CB
split-complementary
#9B58CB #C1CB58 #58CB62
monochromatic
#5C2881 #7D37AF #9B58CB #B787DA #D3B5E8

Accessibility & contrast

On white

4.51
#9B58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9B58CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58CB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58CB#FFFFFF#000000##000000
##9B58CB1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#946D89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9b58cb;
/* rgb */ color: rgb(155, 88, 203);
/* oklch */ color: oklch(58.8% 0.177 308.8);
Tailwind
colors: {
  custom: {
    50: '#bb8adb',
    500: '#9b58cb',
    950: '#000000',
  },
}
SCSS
$custom: #9b58cb;
$custom-light: #bb8adb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58cb",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 274.957,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58774,
    "c": 0.17747,
    "h": 308.8
  },
  "luminance": 0.1826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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