#9D58BC#9D58BC

#9D58BC is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.1% C 0.162 H 314.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9D58BC
RGBrgb(157, 88, 188)
HSLhsl(281, 43%, 54%)
HSVhsv(281, 53%, 74%)
CMYKcmyk(16.5%, 53.2%, 0%, 26.3%)
CIE-LABlab(49.23, 45.37, -41.43)
CIE-LCHlch(49.23, 61.44, 317.60°)
OKLaboklab(58.13% 0.1129 -0.1156)
OKLCHoklch(58.13% 0.162 314.3)
XYZxyz(26.4700, 17.7791, 49.6045)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58BC #77BC58
analogous
#6B58BC #9D58BC #BC58A9
triadic
#9D58BC #BC9D58 #58BC9D
tetradic
#9D58BC #BC6B58 #77BC58 #58A9BC
square
#9D58BC #BC6B58 #77BC58 #58A9BC
split-complementary
#9D58BC #A9BC58 #58BC6B
monochromatic
#592C6E #7D3E99 #9D58BC #B784CE #D0AFDF

Accessibility & contrast

On white

4.61
#9D58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9D58BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D58BC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58BC#FFFFFF#000000##FFFFFF
##9D58BC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d58bc;
/* rgb */ color: rgb(157, 88, 188);
/* oklch */ color: oklch(58.1% 0.162 314.3);
Tailwind
colors: {
  custom: {
    50: '#bc8ad0',
    500: '#9d58bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d58bc;
$custom-light: #bc8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58bc",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 281.4,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58132,
    "c": 0.16159,
    "h": 314.3
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#9D58BC
secondary
#B0CDA3
accent
#D3557C
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9D58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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