#9D58AE#9D58AE

#9D58AE is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.4% C 0.146 H 319.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9D58AE
RGBrgb(157, 88, 174)
HSLhsl(288, 35%, 51%)
HSVhsv(288, 49%, 68%)
CMYKcmyk(9.8%, 49.4%, 0%, 31.8%)
CIE-LABlab(48.52, 42.41, -34.40)
CIE-LCHlch(48.52, 54.61, 320.96°)
OKLaboklab(57.38% 0.1113 -0.0952)
OKLCHoklch(57.38% 0.146 319.4)
XYZxyz(25.0334, 17.2045, 42.0383)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58AE #69AE58
analogous
#7258AE #9D58AE #AE5894
triadic
#9D58AE #AE9D58 #58AE9D
tetradic
#9D58AE #AE7258 #69AE58 #5894AE
square
#9D58AE #AE7258 #69AE58 #5894AE
split-complementary
#9D58AE #94AE58 #58AE72
monochromatic
#542E5E #794287 #9D58AE #B581C2 #CDAAD6

Accessibility & contrast

On white

4.73
#9D58AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9D58AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D58AE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58AE#FFFFFF#000000##FFFFFF
##9D58AE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496EB1
Deuteranopia (green-blind)
#5E76AC
Tritanopia (blue-blind)
#9E647B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d58ae;
/* rgb */ color: rgb(157, 88, 174);
/* oklch */ color: oklch(57.4% 0.146 319.4);
Tailwind
colors: {
  custom: {
    50: '#bc89c6',
    500: '#9d58ae',
    950: '#000000',
  },
}
SCSS
$custom: #9d58ae;
$custom-light: #bc89c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58ae",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 288.14,
    "s": 34.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.14645,
    "h": 319.4
  },
  "luminance": 0.17204
}

Semantic roles & 50–950 ramp

primary
#9D58AE
secondary
#A5C49E
accent
#CB5D73
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #9D58AE

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

Preview Lab → · Contrast checker → · Palette generator →

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