#9757AC#9757AC

#9757AC is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.4% C 0.143 H 317.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9757AC
RGBrgb(151, 87, 172)
HSLhsl(285, 34%, 51%)
HSVhsv(285, 49%, 67%)
CMYKcmyk(12.2%, 49.4%, 0%, 32.5%)
CIE-LABlab(47.46, 40.79, -34.93)
CIE-LCHlch(47.46, 53.70, 319.42°)
OKLaboklab(56.4% 0.1051 -0.0969)
OKLCHoklch(56.4% 0.143 317.3)
XYZxyz(23.6160, 16.3750, 40.9384)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9757AC #6CAC57
analogous
#6C57AC #9757AC #AC5797
triadic
#9757AC #AC9757 #57AC97
tetradic
#9757AC #AC6C57 #6CAC57 #5797AC
square
#9757AC #AC6C57 #6CAC57 #5797AC
split-complementary
#9757AC #97AC57 #57AC6C
monochromatic
#502D5B #744184 #9757AC #B080C0 #CAA9D4

Accessibility & contrast

On white

4.91
#9757AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9757AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9757AC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9757AC#FFFFFF#000000##FFFFFF
##9757AC1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476CAF
Deuteranopia (green-blind)
#5A73AA
Tritanopia (blue-blind)
#976379
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9757ac;
/* rgb */ color: rgb(151, 87, 172);
/* oklch */ color: oklch(56.4% 0.143 317.3);
Tailwind
colors: {
  custom: {
    50: '#b788c5',
    500: '#9757ac',
    950: '#000000',
  },
}
SCSS
$custom: #9757ac;
$custom-light: #b788c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9757ac",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 285.176,
    "s": 33.865,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56399,
    "c": 0.14292,
    "h": 317.3
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

primary
#9757AC
secondary
#A6C29D
accent
#CA5E79
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #9757AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9757AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva