#9E58EC#9E58EC

#9E58EC is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.215 H 302.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9E58EC
RGBrgb(158, 88, 236)
HSLhsl(268, 80%, 64%)
HSVhsv(268, 63%, 93%)
CMYKcmyk(33.1%, 62.7%, 0%, 7.5%)
CIE-LABlab(52.18, 56.57, -64.07)
CIE-LCHlch(52.18, 85.47, 311.44°)
OKLaboklab(61.22% 0.1145 -0.1819)
OKLCHoklch(61.22% 0.215 302.2)
XYZxyz(32.7270, 20.3046, 81.5356)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E58EC #A6EC58
analogous
#585CEC #9E58EC #E858EC
triadic
#9E58EC #EC9E58 #58EC9E
tetradic
#9E58EC #EC585C #A6EC58 #58ECE8
square
#9E58EC #EC585C #A6EC58 #58ECE8
split-complementary
#9E58EC #ECE858 #5CEC58
monochromatic
#6015B5 #7E21E6 #9E58EC #BE8FF2 #DEC6F9

Accessibility & contrast

On white

4.15
#9E58EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9E58EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E58EC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E58EC#FFFFFF#000000##000000
##9E58EC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#257CE9
Tritanopia (blue-blind)
#8E789A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9e58ec;
/* rgb */ color: rgb(158, 88, 236);
/* oklch */ color: oklch(61.2% 0.215 302.2);
Tailwind
colors: {
  custom: {
    50: '#bf8bf3',
    500: '#9e58ec',
    950: '#000000',
  },
}
SCSS
$custom: #9e58ec;
$custom-light: #bf8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e58ec",
  "rgb": {
    "r": 158,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 268.378,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.21488,
    "h": 302.2
  },
  "luminance": 0.20305
}

Semantic roles & 50–950 ramp

primary
#9E58EC
secondary
#D1EAB6
accent
#DC0A78
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #9E58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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