#9E58DF#9E58DF

#9E58DF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.201 H 305.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9E58DF
RGBrgb(158, 88, 223)
HSLhsl(271, 68%, 61%)
HSVhsv(271, 61%, 87%)
CMYKcmyk(29.1%, 60.5%, 0%, 12.5%)
CIE-LABlab(51.35, 53.51, -58.07)
CIE-LCHlch(51.35, 78.96, 312.66°)
OKLaboklab(60.36% 0.1151 -0.1642)
OKLCHoklch(60.36% 0.201 305)
XYZxyz(30.9066, 19.5764, 71.9481)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E58DF #99DF58
analogous
#5A58DF #9E58DF #DF58DC
triadic
#9E58DF #DF9E58 #58DF9E
tetradic
#9E58DF #DF5A58 #99DF58 #58DCDF
square
#9E58DF #DF5A58 #99DF58 #58DCDF
split-complementary
#9E58DF #DCDF58 #58DF5A
monochromatic
#611E9E #8028D2 #9E58DF #BC8BE9 #DABFF3

Accessibility & contrast

On white

4.27
#9E58DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9E58DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E58DF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E58DF#FFFFFF#000000##000000
##9E58DF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C78E3
Deuteranopia (green-blind)
#397BDC
Tritanopia (blue-blind)
#937393
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e58df;
/* rgb */ color: rgb(158, 88, 223);
/* oklch */ color: oklch(60.4% 0.201 305.0);
Tailwind
colors: {
  custom: {
    50: '#bf8aea',
    500: '#9e58df',
    950: '#000000',
  },
}
SCSS
$custom: #9e58df;
$custom-light: #bf8aea;
$custom-dark: #000000;
JSON
{
  "hex": "#9e58df",
  "rgb": {
    "r": 158,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 271.111,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60363,
    "c": 0.20056,
    "h": 305
  },
  "luminance": 0.19576
}

Semantic roles & 50–950 ramp

primary
#9E58DF
secondary
#C8E3B0
accent
#D0166F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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