#9B58EE#9B58EE

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

Color values

HEX#9B58EE
RGBrgb(155, 88, 238)
HSLhsl(267, 82%, 64%)
HSVhsv(267, 63%, 93%)
CMYKcmyk(34.9%, 63%, 0%, 6.7%)
CIE-LABlab(51.97, 56.42, -65.54)
CIE-LCHlch(51.97, 86.48, 310.72°)
OKLaboklab(61.04% 0.1104 -0.1863)
OKLCHoklch(61.04% 0.217 300.7)
XYZxyz(32.4362, 20.1208, 83.0472)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58EE #ABEE58
analogous
#5860EE #9B58EE #E658EE
triadic
#9B58EE #EE9B58 #58EE9B
tetradic
#9B58EE #EE5860 #ABEE58 #58EEE6
square
#9B58EE #EE5860 #ABEE58 #58EEE6
split-complementary
#9B58EE #EEE658 #60EE58
monochromatic
#5D13B9 #7A20E8 #9B58EE #BC90F4 #DEC7F9

Accessibility & contrast

On white

4.18
#9B58EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9B58EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58EE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58EE#FFFFFF#000000##000000
##9B58EE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#197BEB
Tritanopia (blue-blind)
#89799B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b58ee;
/* rgb */ color: rgb(155, 88, 238);
/* oklch */ color: oklch(61.0% 0.217 300.7);
Tailwind
colors: {
  custom: {
    50: '#be8bf4',
    500: '#9b58ee',
    950: '#000000',
  },
}
SCSS
$custom: #9b58ee;
$custom-light: #be8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58ee",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 266.8,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61041,
    "c": 0.21654,
    "h": 300.7
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#9B58EE
secondary
#D4EBB7
accent
#DE087E
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B58EE

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

Preview Lab → · Contrast checker → · Palette generator →

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