#9B58EA#9B58EA

#9B58EA is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.212 H 301.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9B58EA
RGBrgb(155, 88, 234)
HSLhsl(268, 78%, 63%)
HSVhsv(268, 62%, 92%)
CMYKcmyk(33.8%, 62.4%, 0%, 8.2%)
CIE-LABlab(51.71, 55.45, -63.72)
CIE-LCHlch(51.71, 84.47, 311.03°)
OKLaboklab(60.77% 0.1107 -0.1809)
OKLCHoklch(60.77% 0.212 301.5)
XYZxyz(31.8550, 19.8884, 79.9866)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B58EA #A7EA58
analogous
#585EEA #9B58EA #E458EA
triadic
#9B58EA #EA9B58 #58EA9B
tetradic
#9B58EA #EA585E #A7EA58 #58EAE4
square
#9B58EA #EA585E #A7EA58 #58EAE4
split-complementary
#9B58EA #EAE458 #5EEA58
monochromatic
#5D16B1 #7A22E3 #9B58EA #BC8EF1 #DCC5F8

Accessibility & contrast

On white

4.22
#9B58EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9B58EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B58EA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B58EA#FFFFFF#000000##000000
##9B58EA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#237BE7
Tritanopia (blue-blind)
#8B7899
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9b58ea;
/* rgb */ color: rgb(155, 88, 234);
/* oklch */ color: oklch(60.8% 0.212 301.5);
Tailwind
colors: {
  custom: {
    50: '#bd8bf2',
    500: '#9b58ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b58ea;
$custom-light: #bd8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b58ea",
  "rgb": {
    "r": 155,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 267.534,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.21211,
    "h": 301.5
  },
  "luminance": 0.19889
}

Semantic roles & 50–950 ramp

primary
#9B58EA
secondary
#D1E9B5
accent
#DA0C7B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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