#9D58BB#9D58BB

#9D58BB is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.1% C 0.160 H 314.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9D58BB
RGBrgb(157, 88, 187)
HSLhsl(282, 42%, 54%)
HSVhsv(282, 53%, 73%)
CMYKcmyk(16%, 52.9%, 0%, 26.7%)
CIE-LABlab(49.17, 45.15, -40.94)
CIE-LCHlch(49.17, 60.95, 317.80°)
OKLaboklab(58.08% 0.1128 -0.1142)
OKLCHoklch(58.08% 0.16 314.7)
XYZxyz(26.3626, 17.7362, 49.0388)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D58BB #76BB58
analogous
#6C58BB #9D58BB #BB58A8
triadic
#9D58BB #BB9D58 #58BB9D
tetradic
#9D58BB #BB6C58 #76BB58 #58A8BB
square
#9D58BB #BB6C58 #76BB58 #58A8BB
split-complementary
#9D58BB #A8BB58 #58BB6C
monochromatic
#592C6C #7D3E98 #9D58BB #B783CD #D0AFDE

Accessibility & contrast

On white

4.62
#9D58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9D58BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D58BB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D58BB#FFFFFF#000000##FFFFFF
##9D58BB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5777B8
Tritanopia (blue-blind)
#9B6881
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d58bb;
/* rgb */ color: rgb(157, 88, 187);
/* oklch */ color: oklch(58.1% 0.160 314.7);
Tailwind
colors: {
  custom: {
    50: '#bc8ad0',
    500: '#9d58bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d58bb;
$custom-light: #bc8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d58bb",
  "rgb": {
    "r": 157,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 281.818,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.16049,
    "h": 314.7
  },
  "luminance": 0.17735
}

Semantic roles & 50–950 ramp

primary
#9D58BB
secondary
#AFCDA2
accent
#D2567B
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9D58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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