#9B58E4#9B58E4

#9B58E4 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.205 H 302.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9B58E4
RGBrgb(155, 88, 228)
HSLhsl(269, 72%, 62%)
HSVhsv(269, 61%, 89%)
CMYKcmyk(32%, 61.4%, 0%, 10.6%)
CIE-LABlab(51.32, 54.01, -60.96)
CIE-LCHlch(51.32, 81.45, 311.54°)
OKLaboklab(60.36% 0.111 -0.1728)
OKLCHoklch(60.36% 0.205 302.7)
XYZxyz(31.0076, 19.5494, 75.5236)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58E4 #A1E458
analogous
#585BE4 #9B58E4 #E158E4
triadic
#9B58E4 #E49B58 #58E49B
tetradic
#9B58E4 #E4585B #A1E458 #58E4E1
square
#9B58E4 #E4585B #A1E458 #58E4E1
split-complementary
#9B58E4 #E4E158 #5BE458
monochromatic
#5E1BA7 #7B23DB #9B58E4 #BB8DED #DAC1F5

Accessibility & contrast

On white

4.28
#9B58E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#9B58E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58E4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58E4#FFFFFF#000000##000000
##9B58E41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#2E7AE1
Tritanopia (blue-blind)
#8D7696
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9b58e4;
/* rgb */ color: rgb(155, 88, 228);
/* oklch */ color: oklch(60.4% 0.205 302.7);
Tailwind
colors: {
  custom: {
    50: '#bd8aed',
    500: '#9b58e4',
    950: '#000000',
  },
}
SCSS
$custom: #9b58e4;
$custom-light: #bd8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58e4",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 268.714,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60364,
    "c": 0.20544,
    "h": 302.7
  },
  "luminance": 0.19549
}

Semantic roles & 50–950 ramp

primary
#9B58E4
secondary
#CDE6B2
accent
#D41177
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9B58E4

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

Preview Lab → · Contrast checker → · Palette generator →

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