#9E58EB#9E58EB

#9E58EB is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.214 H 302.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9E58EB
RGBrgb(158, 88, 235)
HSLhsl(269, 79%, 63%)
HSVhsv(269, 63%, 92%)
CMYKcmyk(32.8%, 62.6%, 0%, 7.8%)
CIE-LABlab(52.12, 56.33, -63.61)
CIE-LCHlch(52.12, 84.97, 311.53°)
OKLaboklab(61.16% 0.1145 -0.1805)
OKLCHoklch(61.16% 0.214 302.4)
XYZxyz(32.5822, 20.2467, 80.7726)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E58EB #A5EB58
analogous
#585BEB #9E58EB #E758EB
triadic
#9E58EB #EB9E58 #58EB9E
tetradic
#9E58EB #EB585B #A5EB58 #58EBE7
square
#9E58EB #EB585B #A5EB58 #58EBE7
split-complementary
#9E58EB #EBE758 #5BEB58
monochromatic
#6115B3 #7E21E4 #9E58EB #BE8FF2 #DDC5F8

Accessibility & contrast

On white

4.16
#9E58EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9E58EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E58EB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E58EB#FFFFFF#000000##000000
##9E58EB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#277CE8
Tritanopia (blue-blind)
#8F789A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e58eb;
/* rgb */ color: rgb(158, 88, 235);
/* oklch */ color: oklch(61.2% 0.214 302.4);
Tailwind
colors: {
  custom: {
    50: '#bf8bf2',
    500: '#9e58eb',
    950: '#000000',
  },
}
SCSS
$custom: #9e58eb;
$custom-light: #bf8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e58eb",
  "rgb": {
    "r": 158,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 268.571,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.21378,
    "h": 302.4
  },
  "luminance": 0.20247
}

Semantic roles & 50–950 ramp

primary
#9E58EB
secondary
#D1EAB5
accent
#DB0B78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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