#9E58DD#9E58DD

#9E58DD is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.2% C 0.198 H 305.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9E58DD
RGBrgb(158, 88, 221)
HSLhsl(272, 66%, 61%)
HSVhsv(272, 60%, 87%)
CMYKcmyk(28.5%, 60.2%, 0%, 13.3%)
CIE-LABlab(51.23, 53.04, -57.14)
CIE-LCHlch(51.23, 77.96, 312.87°)
OKLaboklab(60.23% 0.1152 -0.1615)
OKLCHoklch(60.23% 0.198 305.5)
XYZxyz(30.6386, 19.4692, 70.5364)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E58DD #97DD58
analogous
#5B58DD #9E58DD #DD58D9
triadic
#9E58DD #DD9E58 #58DD9E
tetradic
#9E58DD #DD5B58 #97DD58 #58D9DD
square
#9E58DD #DD5B58 #97DD58 #58D9DD
split-complementary
#9E58DD #D9DD58 #58DD5B
monochromatic
#61209B #802ACE #9E58DD #BC8BE7 #D9BEF2

Accessibility & contrast

On white

4.29
#9E58DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#9E58DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E58DD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E58DD#FFFFFF#000000##000000
##9E58DD1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1378E1
Deuteranopia (green-blind)
#3C7ADA
Tritanopia (blue-blind)
#937392
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e58dd;
/* rgb */ color: rgb(158, 88, 221);
/* oklch */ color: oklch(60.2% 0.198 305.5);
Tailwind
colors: {
  custom: {
    50: '#be8ae8',
    500: '#9e58dd',
    950: '#000000',
  },
}
SCSS
$custom: #9e58dd;
$custom-light: #be8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e58dd",
  "rgb": {
    "r": 158,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 271.579,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.19836,
    "h": 305.5
  },
  "luminance": 0.19469
}

Semantic roles & 50–950 ramp

primary
#9E58DD
secondary
#C7E2AF
accent
#CE176E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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