#9B58ED#9B58ED

#9B58ED is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.0% C 0.215 H 300.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9B58ED
RGBrgb(155, 88, 237)
HSLhsl(267, 81%, 64%)
HSVhsv(267, 63%, 93%)
CMYKcmyk(34.6%, 62.9%, 0%, 7.1%)
CIE-LABlab(51.91, 56.18, -65.08)
CIE-LCHlch(51.91, 85.98, 310.80°)
OKLaboklab(60.97% 0.1105 -0.1849)
OKLCHoklch(60.97% 0.215 300.9)
XYZxyz(32.2897, 20.0622, 82.2756)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58ED #AAED58
analogous
#585FED #9B58ED #E658ED
triadic
#9B58ED #ED9B58 #58ED9B
tetradic
#9B58ED #ED585F #AAED58 #58EDE6
square
#9B58ED #ED585F #AAED58 #58EDE6
split-complementary
#9B58ED #EDE658 #5FED58
monochromatic
#5D14B7 #7A21E7 #9B58ED #BC8FF3 #DDC6F9

Accessibility & contrast

On white

4.19
#9B58ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9B58ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58ED
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58ED#FFFFFF#000000##000000
##9B58ED1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#1C7BEA
Tritanopia (blue-blind)
#8A799B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b58ed;
/* rgb */ color: rgb(155, 88, 237);
/* oklch */ color: oklch(61.0% 0.215 300.9);
Tailwind
colors: {
  custom: {
    50: '#be8bf4',
    500: '#9b58ed',
    950: '#000000',
  },
}
SCSS
$custom: #9b58ed;
$custom-light: #be8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58ed",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 266.98,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60972,
    "c": 0.21544,
    "h": 300.9
  },
  "luminance": 0.20062
}

Semantic roles & 50–950 ramp

primary
#9B58ED
secondary
#D3EBB6
accent
#DD097D
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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