#9B58E7#9B58E7

#9B58E7 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.209 H 302.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9B58E7
RGBrgb(155, 88, 231)
HSLhsl(268, 75%, 63%)
HSVhsv(268, 62%, 91%)
CMYKcmyk(32.9%, 61.9%, 0%, 9.4%)
CIE-LABlab(51.52, 54.73, -62.34)
CIE-LCHlch(51.52, 82.96, 311.28°)
OKLaboklab(60.57% 0.1109 -0.1769)
OKLCHoklch(60.57% 0.209 302.1)
XYZxyz(31.4277, 19.7175, 77.7359)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58E7 #A4E758
analogous
#585CE7 #9B58E7 #E358E7
triadic
#9B58E7 #E79B58 #58E79B
tetradic
#9B58E7 #E7585C #A4E758 #58E7E3
square
#9B58E7 #E7585C #A4E758 #58E7E3
split-complementary
#9B58E7 #E7E358 #5CE758
monochromatic
#5E19AC #7B22DF #9B58E7 #BB8EEF #DBC3F6

Accessibility & contrast

On white

4.25
#9B58E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9B58E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58E7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58E7#FFFFFF#000000##000000
##9B58E71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#297AE4
Tritanopia (blue-blind)
#8C7798
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b58e7;
/* rgb */ color: rgb(155, 88, 231);
/* oklch */ color: oklch(60.6% 0.209 302.1);
Tailwind
colors: {
  custom: {
    50: '#bd8aef',
    500: '#9b58e7',
    950: '#000000',
  },
}
SCSS
$custom: #9b58e7;
$custom-light: #bd8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58e7",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 268.112,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60565,
    "c": 0.20878,
    "h": 302.1
  },
  "luminance": 0.19718
}

Semantic roles & 50–950 ramp

primary
#9B58E7
secondary
#CFE7B3
accent
#D70E79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B58E7

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

Preview Lab → · Contrast checker → · Palette generator →

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