#9B58EF#9B58EF

#9B58EF is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.1% C 0.218 H 300.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9B58EF
RGBrgb(155, 88, 239)
HSLhsl(267, 83%, 64%)
HSVhsv(267, 63%, 94%)
CMYKcmyk(35.1%, 63.2%, 0%, 6.3%)
CIE-LABlab(52.04, 56.66, -65.99)
CIE-LCHlch(52.04, 86.98, 310.65°)
OKLaboklab(61.11% 0.1103 -0.1876)
OKLCHoklch(61.11% 0.218 300.5)
XYZxyz(32.5835, 20.1798, 83.8231)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58EF #ACEF58
analogous
#5861EF #9B58EF #E758EF
triadic
#9B58EF #EF9B58 #58EF9B
tetradic
#9B58EF #EF5861 #ACEF58 #58EFE7
square
#9B58EF #EF5861 #ACEF58 #58EFE7
split-complementary
#9B58EF #EFE758 #61EF58
monochromatic
#5D12BB #7A20EA #9B58EF #BC90F4 #DEC8FA

Accessibility & contrast

On white

4.17
#9B58EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9B58EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58EF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58EF#FFFFFF#000000##000000
##9B58EF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#157BEC
Tritanopia (blue-blind)
#89799C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b58ef;
/* rgb */ color: rgb(155, 88, 239);
/* oklch */ color: oklch(61.1% 0.218 300.5);
Tailwind
colors: {
  custom: {
    50: '#be8bf5',
    500: '#9b58ef',
    950: '#000000',
  },
}
SCSS
$custom: #9b58ef;
$custom-light: #be8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58ef",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 266.623,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.21765,
    "h": 300.5
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#9B58EF
secondary
#D4ECB7
accent
#DF077F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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