#9B58E6#9B58E6

#9B58E6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.208 H 302.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9B58E6
RGBrgb(155, 88, 230)
HSLhsl(268, 74%, 62%)
HSVhsv(268, 62%, 90%)
CMYKcmyk(32.6%, 61.7%, 0%, 9.8%)
CIE-LABlab(51.45, 54.49, -61.89)
CIE-LCHlch(51.45, 82.46, 311.36°)
OKLaboklab(60.5% 0.1109 -0.1756)
OKLCHoklch(60.5% 0.208 302.3)
XYZxyz(31.2869, 19.6611, 76.9943)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58E6 #A3E658
analogous
#585CE6 #9B58E6 #E258E6
triadic
#9B58E6 #E69B58 #58E69B
tetradic
#9B58E6 #E6585C #A3E658 #58E6E2
square
#9B58E6 #E6585C #A3E658 #58E6E2
split-complementary
#9B58E6 #E6E258 #5CE658
monochromatic
#5E19AA #7B23DE #9B58E6 #BB8DEE #DBC2F6

Accessibility & contrast

On white

4.26
#9B58E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#9B58E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58E6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58E6#FFFFFF#000000##000000
##9B58E61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#2B7AE3
Tritanopia (blue-blind)
#8C7697
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b58e6;
/* rgb */ color: rgb(155, 88, 230);
/* oklch */ color: oklch(60.5% 0.208 302.3);
Tailwind
colors: {
  custom: {
    50: '#bd8aef',
    500: '#9b58e6',
    950: '#000000',
  },
}
SCSS
$custom: #9b58e6;
$custom-light: #bd8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58e6",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 268.31,
    "s": 73.958,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60498,
    "c": 0.20767,
    "h": 302.3
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#9B58E6
secondary
#CEE7B3
accent
#D60F78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9B58E6

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

Preview Lab → · Contrast checker → · Palette generator →

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