#9B58DC#9B58DC

#9B58DC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.8% C 0.197 H 304.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9B58DC
RGBrgb(155, 88, 220)
HSLhsl(270, 65%, 60%)
HSVhsv(270, 60%, 86%)
CMYKcmyk(29.5%, 60%, 0%, 13.7%)
CIE-LABlab(50.82, 52.11, -57.25)
CIE-LCHlch(50.82, 77.41, 312.31°)
OKLaboklab(59.84% 0.1113 -0.1619)
OKLCHoklch(59.84% 0.197 304.5)
XYZxyz(29.9227, 19.1155, 69.8095)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58DC #99DC58
analogous
#5958DC #9B58DC #DC58DB
triadic
#9B58DC #DC9B58 #58DC9B
tetradic
#9B58DC #DC5958 #99DC58 #58DBDC
square
#9B58DC #DC5958 #99DC58 #58DBDC
split-complementary
#9B58DC #DBDC58 #58DC59
monochromatic
#5E2099 #7D2BCC #9B58DC #B98BE7 #D8BDF1

Accessibility & contrast

On white

4.35
#9B58DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9B58DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58DC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58DC#FFFFFF#000000##000000
##9B58DC1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1277E0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#8F7392
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9b58dc;
/* rgb */ color: rgb(155, 88, 220);
/* oklch */ color: oklch(59.8% 0.197 304.5);
Tailwind
colors: {
  custom: {
    50: '#bc8ae8',
    500: '#9b58dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b58dc;
$custom-light: #bc8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58dc",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 270.455,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59839,
    "c": 0.19651,
    "h": 304.5
  },
  "luminance": 0.19115
}

Semantic roles & 50–950 ramp

primary
#9B58DC
secondary
#C8E1AF
accent
#CD1871
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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