#9E58DC#9E58DC

#9E58DC is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.2% C 0.197 H 305.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9E58DC
RGBrgb(158, 88, 220)
HSLhsl(272, 65%, 60%)
HSVhsv(272, 60%, 86%)
CMYKcmyk(28.2%, 60%, 0%, 13.7%)
CIE-LABlab(51.17, 52.81, -56.67)
CIE-LCHlch(51.17, 77.46, 312.98°)
OKLaboklab(60.17% 0.1152 -0.1601)
OKLCHoklch(60.17% 0.197 305.7)
XYZxyz(30.5058, 19.4161, 69.8369)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E58DC #96DC58
analogous
#5C58DC #9E58DC #DC58D8
triadic
#9E58DC #DC9E58 #58DC9E
tetradic
#9E58DC #DC5C58 #96DC58 #58D8DC
square
#9E58DC #DC5C58 #96DC58 #58D8DC
split-complementary
#9E58DC #D8DC58 #58DC5C
monochromatic
#602099 #802BCC #9E58DC #BB8BE7 #D9BDF1

Accessibility & contrast

On white

4.30
#9E58DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#9E58DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E58DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E58DC#FFFFFF#000000##000000
##9E58DC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1678E0
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#937292
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e58dc;
/* rgb */ color: rgb(158, 88, 220);
/* oklch */ color: oklch(60.2% 0.197 305.7);
Tailwind
colors: {
  custom: {
    50: '#be8ae7',
    500: '#9e58dc',
    950: '#000000',
  },
}
SCSS
$custom: #9e58dc;
$custom-light: #be8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e58dc",
  "rgb": {
    "r": 158,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 271.818,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6017,
    "c": 0.19725,
    "h": 305.7
  },
  "luminance": 0.19416
}

Semantic roles & 50–950 ramp

primary
#9E58DC
secondary
#C6E1AF
accent
#CD186D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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