#9B58E9#9B58E9

#9B58E9 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.7% C 0.211 H 301.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9B58E9
RGBrgb(155, 88, 233)
HSLhsl(268, 77%, 63%)
HSVhsv(268, 62%, 91%)
CMYKcmyk(33.5%, 62.2%, 0%, 8.6%)
CIE-LABlab(51.65, 55.21, -63.26)
CIE-LCHlch(51.65, 83.97, 311.11°)
OKLaboklab(60.7% 0.1108 -0.1796)
OKLCHoklch(60.7% 0.211 301.7)
XYZxyz(31.7118, 19.8311, 79.2321)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58E9 #A6E958
analogous
#585DE9 #9B58E9 #E358E9
triadic
#9B58E9 #E99B58 #58E99B
tetradic
#9B58E9 #E9585D #A6E958 #58E9E3
square
#9B58E9 #E9585D #A6E958 #58E9E3
split-complementary
#9B58E9 #E9E358 #5DE958
monochromatic
#5E17AF #7B22E2 #9B58E9 #BB8EF0 #DCC4F7

Accessibility & contrast

On white

4.23
#9B58E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9B58E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58E9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58E9#FFFFFF#000000##000000
##9B58E91.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#257AE6
Tritanopia (blue-blind)
#8B7799
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b58e9;
/* rgb */ color: rgb(155, 88, 233);
/* oklch */ color: oklch(60.7% 0.211 301.7);
Tailwind
colors: {
  custom: {
    50: '#bd8bf1',
    500: '#9b58e9',
    950: '#000000',
  },
}
SCSS
$custom: #9b58e9;
$custom-light: #bd8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58e9",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 267.724,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.607,
    "c": 0.211,
    "h": 301.7
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#9B58E9
secondary
#D0E8B4
accent
#D90D7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B58E9

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

Preview Lab → · Contrast checker → · Palette generator →

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