#9E58CD#9E58CD

#9E58CD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.181 H 309.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9E58CD
RGBrgb(158, 88, 205)
HSLhsl(276, 54%, 57%)
HSVhsv(276, 57%, 80%)
CMYKcmyk(22.9%, 57.1%, 0%, 19.6%)
CIE-LABlab(50.28, 49.38, -49.54)
CIE-LCHlch(50.28, 69.95, 314.91°)
OKLaboklab(59.24% 0.1151 -0.1393)
OKLCHoklch(59.24% 0.181 309.6)
XYZxyz(28.6076, 18.6568, 59.8399)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E58CD #87CD58
analogous
#6358CD #9E58CD #CD58C2
triadic
#9E58CD #CD9E58 #58CD9E
tetradic
#9E58CD #CD6358 #87CD58 #58C2CD
square
#9E58CD #CD6358 #87CD58 #58C2CD
split-complementary
#9E58CD #C2CD58 #58CD63
monochromatic
#5E2783 #8035B2 #9E58CD #B987DB #D5B6E9

Accessibility & contrast

On white

4.44
#9E58CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9E58CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E58CD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E58CD#FFFFFF#000000##000000
##9E58CD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3075D1
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#986D8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e58cd;
/* rgb */ color: rgb(158, 88, 205);
/* oklch */ color: oklch(59.2% 0.181 309.6);
Tailwind
colors: {
  custom: {
    50: '#be8add',
    500: '#9e58cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e58cd;
$custom-light: #be8add;
$custom-dark: #000000;
JSON
{
  "hex": "#9e58cd",
  "rgb": {
    "r": 158,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 275.897,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.18067,
    "h": 309.6
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#9E58CD
secondary
#BCD8A9
accent
#DD4B85
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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