#9E58D2#9E58D2

#9E58D2 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.186 H 308.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9E58D2
RGBrgb(158, 88, 210)
HSLhsl(274, 58%, 58%)
HSVhsv(274, 58%, 82%)
CMYKcmyk(24.8%, 58.1%, 0%, 17.6%)
CIE-LABlab(50.57, 50.51, -51.94)
CIE-LCHlch(50.57, 72.45, 314.20°)
OKLaboklab(59.54% 0.1152 -0.1463)
OKLCHoklch(59.54% 0.186 308.2)
XYZxyz(29.2208, 18.9021, 63.0694)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E58D2 #8CD258
analogous
#6158D2 #9E58D2 #D258C9
triadic
#9E58D2 #D29E58 #58D29E
tetradic
#9E58D2 #D26158 #8CD258 #58C9D2
square
#9E58D2 #D26158 #8CD258 #58C9D2
split-complementary
#9E58D2 #C9D258 #58D261
monochromatic
#5F258A #8032BB #9E58D2 #BA88DF #D6B8EC

Accessibility & contrast

On white

4.39
#9E58D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9E58D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E58D2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E58D2#FFFFFF#000000##000000
##9E58D21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#4779CF
Tritanopia (blue-blind)
#966F8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9e58d2;
/* rgb */ color: rgb(158, 88, 210);
/* oklch */ color: oklch(59.5% 0.186 308.2);
Tailwind
colors: {
  custom: {
    50: '#be8ae0',
    500: '#9e58d2',
    950: '#000000',
  },
}
SCSS
$custom: #9e58d2;
$custom-light: #be8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e58d2",
  "rgb": {
    "r": 158,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 274.426,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59541,
    "c": 0.1862,
    "h": 308.2
  },
  "luminance": 0.18902
}

Semantic roles & 50–950 ramp

primary
#9E58D2
secondary
#BFDBAB
accent
#E14789
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9E58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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