#9E58EE#9E58EE

#9E58EE is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.217 H 301.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9E58EE
RGBrgb(158, 88, 238)
HSLhsl(268, 82%, 64%)
HSVhsv(268, 63%, 93%)
CMYKcmyk(33.6%, 63%, 0%, 6.7%)
CIE-LABlab(52.31, 57.05, -64.98)
CIE-LCHlch(52.31, 86.47, 311.28°)
OKLaboklab(61.36% 0.1143 -0.1845)
OKLCHoklch(61.36% 0.217 301.8)
XYZxyz(33.0192, 20.4215, 83.0745)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E58EE #A8EE58
analogous
#585DEE #9E58EE #E958EE
triadic
#9E58EE #EE9E58 #58EE9E
tetradic
#9E58EE #EE585D #A8EE58 #58EEE9
square
#9E58EE #EE585D #A8EE58 #58EEE9
split-complementary
#9E58EE #EEE958 #5DEE58
monochromatic
#6013B9 #7E20E8 #9E58EE #BE90F4 #DFC7F9

Accessibility & contrast

On white

4.13
#9E58EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9E58EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E58EE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E58EE#FFFFFF#000000##000000
##9E58EE1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#207CEB
Tritanopia (blue-blind)
#8E799B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9e58ee;
/* rgb */ color: rgb(158, 88, 238);
/* oklch */ color: oklch(61.4% 0.217 301.8);
Tailwind
colors: {
  custom: {
    50: '#c08bf4',
    500: '#9e58ee',
    950: '#000000',
  },
}
SCSS
$custom: #9e58ee;
$custom-light: #c08bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e58ee",
  "rgb": {
    "r": 158,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 268,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6136,
    "c": 0.21708,
    "h": 301.8
  },
  "luminance": 0.20422
}

Semantic roles & 50–950 ramp

primary
#9E58EE
secondary
#D3EBB7
accent
#DE087A
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E58EE

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

Preview Lab → · Contrast checker → · Palette generator →

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