#9B58CE#9B58CE

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

Color values

HEX#9B58CE
RGBrgb(155, 88, 206)
HSLhsl(274, 55%, 58%)
HSVhsv(274, 57%, 81%)
CMYKcmyk(24.8%, 57.3%, 0%, 19.2%)
CIE-LABlab(49.98, 48.86, -50.61)
CIE-LCHlch(49.98, 70.35, 313.99°)
OKLaboklab(58.96% 0.1114 -0.1425)
OKLCHoklch(58.96% 0.181 308)
XYZxyz(28.1456, 18.4046, 60.4503)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58CE #8BCE58
analogous
#6058CE #9B58CE #CE58C6
triadic
#9B58CE #CE9B58 #58CE9B
tetradic
#9B58CE #CE6058 #8BCE58 #58C6CE
square
#9B58CE #CE6058 #8BCE58 #58C6CE
split-complementary
#9B58CE #C6CE58 #58CE60
monochromatic
#5C2785 #7D35B4 #9B58CE #B787DC #D4B7EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B58CE#FFFFFF#000000##000000
##9B58CE1.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)
#2D74D2
Deuteranopia (green-blind)
#4778CB
Tritanopia (blue-blind)
#936E8B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9b58ce;
/* rgb */ color: rgb(155, 88, 206);
/* oklch */ color: oklch(59.0% 0.181 308.0);
Tailwind
colors: {
  custom: {
    50: '#bc8add',
    500: '#9b58ce',
    950: '#000000',
  },
}
SCSS
$custom: #9b58ce;
$custom-light: #bc8add;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58ce",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 274.068,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58957,
    "c": 0.18084,
    "h": 308
  },
  "luminance": 0.18404
}

Semantic roles & 50–950 ramp

primary
#9B58CE
secondary
#BED9A9
accent
#DE4A8A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9B58CE

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

Preview Lab → · Contrast checker → · Palette generator →

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