#9D57AF#9D57AF

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

Color values

HEX#9D57AF
RGBrgb(157, 87, 175)
HSLhsl(288, 35%, 51%)
HSVhsv(288, 50%, 69%)
CMYKcmyk(10.3%, 50.3%, 0%, 31.4%)
CIE-LABlab(48.36, 43.15, -35.23)
CIE-LCHlch(48.36, 55.70, 320.77°)
OKLaboklab(57.28% 0.1129 -0.0976)
OKLCHoklch(57.28% 0.149 319.1)
XYZxyz(25.0497, 17.0806, 42.5265)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57AF #69AF57
analogous
#7157AF #9D57AF #AF5795
triadic
#9D57AF #AF9D57 #57AF9D
tetradic
#9D57AF #AF7157 #69AF57 #5795AF
square
#9D57AF #AF7157 #69AF57 #5795AF
split-complementary
#9D57AF #95AF57 #57AF71
monochromatic
#542D5F #794188 #9D57AF #B580C3 #CDAAD6

Accessibility & contrast

On white

4.76
#9D57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9D57AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D57AF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57AF#FFFFFF#000000##FFFFFF
##9D57AF1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#5C75AD
Tritanopia (blue-blind)
#9D637B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d57af;
/* rgb */ color: rgb(157, 87, 175);
/* oklch */ color: oklch(57.3% 0.149 319.1);
Tailwind
colors: {
  custom: {
    50: '#bc89c7',
    500: '#9d57af',
    950: '#000000',
  },
}
SCSS
$custom: #9d57af;
$custom-light: #bc89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57af",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 287.727,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57276,
    "c": 0.14921,
    "h": 319.1
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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