#9E58BC#9E58BC

#9E58BC is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.2% C 0.162 H 314.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9E58BC
RGBrgb(158, 88, 188)
HSLhsl(282, 43%, 54%)
HSVhsv(282, 53%, 74%)
CMYKcmyk(16%, 53.2%, 0%, 26.3%)
CIE-LABlab(49.35, 45.64, -41.23)
CIE-LCHlch(49.35, 61.50, 317.91°)
OKLaboklab(58.25% 0.1141 -0.115)
OKLCHoklch(58.25% 0.162 314.8)
XYZxyz(26.6659, 17.8802, 49.6137)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E58BC #76BC58
analogous
#6C58BC #9E58BC #BC58A8
triadic
#9E58BC #BC9E58 #58BC9E
tetradic
#9E58BC #BC6C58 #76BC58 #58A8BC
square
#9E58BC #BC6C58 #76BC58 #58A8BC
split-complementary
#9E58BC #A8BC58 #58BC6C
monochromatic
#5A2C6E #7E3E99 #9E58BC #B784CE #D1AFDF

Accessibility & contrast

On white

4.59
#9E58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9E58BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E58BC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E58BC#FFFFFF#000000##FFFFFF
##9E58BC1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4071BF
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#9C6882
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9e58bc;
/* rgb */ color: rgb(158, 88, 188);
/* oklch */ color: oklch(58.2% 0.162 314.8);
Tailwind
colors: {
  custom: {
    50: '#bd8ad0',
    500: '#9e58bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e58bc;
$custom-light: #bd8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e58bc",
  "rgb": {
    "r": 158,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 282,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.16201,
    "h": 314.8
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#9E58BC
secondary
#AFCDA3
accent
#D3557B
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9E58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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