#9B58EC#9B58EC

#9B58EC is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.9% C 0.214 H 301.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9B58EC
RGBrgb(155, 88, 236)
HSLhsl(267, 80%, 64%)
HSVhsv(267, 63%, 93%)
CMYKcmyk(34.3%, 62.7%, 0%, 7.5%)
CIE-LABlab(51.84, 55.94, -64.63)
CIE-LCHlch(51.84, 85.47, 310.88°)
OKLaboklab(60.9% 0.1106 -0.1836)
OKLCHoklch(60.9% 0.214 301.1)
XYZxyz(32.1440, 20.0040, 81.5083)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58EC #A9EC58
analogous
#585FEC #9B58EC #E558EC
triadic
#9B58EC #EC9B58 #58EC9B
tetradic
#9B58EC #EC585F #A9EC58 #58ECE5
square
#9B58EC #EC585F #A9EC58 #58ECE5
split-complementary
#9B58EC #ECE558 #5FEC58
monochromatic
#5D15B5 #7A21E6 #9B58EC #BC8FF2 #DDC6F9

Accessibility & contrast

On white

4.20
#9B58EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9B58EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58EC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58EC#FFFFFF#000000##000000
##9B58EC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#1E7BE9
Tritanopia (blue-blind)
#8A789A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9b58ec;
/* rgb */ color: rgb(155, 88, 236);
/* oklch */ color: oklch(60.9% 0.214 301.1);
Tailwind
colors: {
  custom: {
    50: '#be8bf3',
    500: '#9b58ec',
    950: '#000000',
  },
}
SCSS
$custom: #9b58ec;
$custom-light: #be8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58ec",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 267.162,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60904,
    "c": 0.21433,
    "h": 301.1
  },
  "luminance": 0.20004
}

Semantic roles & 50–950 ramp

primary
#9B58EC
secondary
#D2EAB6
accent
#DC0A7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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