#9C58AF#9C58AF

#9C58AF is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.3% C 0.147 H 318.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9C58AF
RGBrgb(156, 88, 175)
HSLhsl(287, 35%, 52%)
HSVhsv(287, 50%, 69%)
CMYKcmyk(10.9%, 49.7%, 0%, 31.4%)
CIE-LABlab(48.44, 42.33, -35.11)
CIE-LCHlch(48.44, 55.00, 320.33°)
OKLaboklab(57.31% 0.1102 -0.0973)
OKLCHoklch(57.31% 0.147 318.6)
XYZxyz(24.9369, 17.1434, 42.5446)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C58AF #6BAF58
analogous
#7158AF #9C58AF #AF5897
triadic
#9C58AF #AF9C58 #58AF9C
tetradic
#9C58AF #AF7158 #6BAF58 #5897AF
square
#9C58AF #AF7158 #6BAF58 #5897AF
split-complementary
#9C58AF #97AF58 #58AF71
monochromatic
#542E5F #794188 #9C58AF #B581C3 #CDABD7

Accessibility & contrast

On white

4.74
#9C58AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9C58AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C58AF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C58AF#FFFFFF#000000##FFFFFF
##9C58AF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486EB2
Deuteranopia (green-blind)
#5D75AD
Tritanopia (blue-blind)
#9C647B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c58af;
/* rgb */ color: rgb(156, 88, 175);
/* oklch */ color: oklch(57.3% 0.147 318.6);
Tailwind
colors: {
  custom: {
    50: '#bb89c7',
    500: '#9c58af',
    950: '#000000',
  },
}
SCSS
$custom: #9c58af;
$custom-light: #bb89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c58af",
  "rgb": {
    "r": 156,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 286.897,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57307,
    "c": 0.14701,
    "h": 318.6
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#9C58AF
secondary
#A7C59E
accent
#CB5D75
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #9C58AF

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

Preview Lab → · Contrast checker → · Palette generator →

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