#9B58D8#9B58D8

#9B58D8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.6% C 0.192 H 305.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9B58D8
RGBrgb(155, 88, 216)
HSLhsl(271, 62%, 60%)
HSVhsv(271, 59%, 85%)
CMYKcmyk(28.2%, 59.3%, 0%, 15.3%)
CIE-LABlab(50.58, 51.17, -55.37)
CIE-LCHlch(50.58, 75.40, 312.75°)
OKLaboklab(59.58% 0.1114 -0.1564)
OKLCHoklch(59.58% 0.192 305.5)
XYZxyz(29.3993, 18.9061, 67.0529)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58D8 #95D858
analogous
#5B58D8 #9B58D8 #D858D5
triadic
#9B58D8 #D89B58 #58D89B
tetradic
#9B58D8 #D85B58 #95D858 #58D5D8
square
#9B58D8 #D85B58 #95D858 #58D5D8
split-complementary
#9B58D8 #D5D858 #58D85B
monochromatic
#5D2293 #7D2EC5 #9B58D8 #B98AE4 #D6BBEF

Accessibility & contrast

On white

4.39
#9B58D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9B58D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58D8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58D8#FFFFFF#000000##000000
##9B58D81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D76DC
Deuteranopia (green-blind)
#3E79D5
Tritanopia (blue-blind)
#917190
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9b58d8;
/* rgb */ color: rgb(155, 88, 216);
/* oklch */ color: oklch(59.6% 0.192 305.5);
Tailwind
colors: {
  custom: {
    50: '#bc8ae5',
    500: '#9b58d8',
    950: '#000000',
  },
}
SCSS
$custom: #9b58d8;
$custom-light: #bc8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58d8",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 271.406,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59582,
    "c": 0.19203,
    "h": 305.5
  },
  "luminance": 0.18906
}

Semantic roles & 50–950 ramp

primary
#9B58D8
secondary
#C5DFAD
accent
#E54390
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B58D8

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

Preview Lab → · Contrast checker → · Palette generator →

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