#9752AE#9752AE

#9752AE is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.7% C 0.153 H 317.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9752AE
RGBrgb(151, 82, 174)
HSLhsl(285, 36%, 50%)
HSVhsv(285, 53%, 68%)
CMYKcmyk(13.2%, 52.9%, 0%, 31.8%)
CIE-LABlab(46.54, 43.89, -37.56)
CIE-LCHlch(46.54, 57.77, 319.44°)
OKLaboklab(55.75% 0.1124 -0.1045)
OKLCHoklch(55.75% 0.153 317.1)
XYZxyz(23.4187, 15.6707, 41.8273)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752AE #69AE52
analogous
#6952AE #9752AE #AE5297
triadic
#9752AE #AE9752 #52AE97
tetradic
#9752AE #AE6952 #69AE52 #5297AE
square
#9752AE #AE6952 #69AE52 #5297AE
split-complementary
#9752AE #97AE52 #52AE69
monochromatic
#4F2B5B #733E85 #9752AE #B07CC2 #C9A5D5

Accessibility & contrast

On white

5.08
#9752AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9752AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752AE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752AE#FFFFFF#000000##FFFFFF
##9752AE1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB1
Deuteranopia (green-blind)
#5570AC
Tritanopia (blue-blind)
#966078
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9752ae;
/* rgb */ color: rgb(151, 82, 174);
/* oklch */ color: oklch(55.7% 0.153 317.1);
Tailwind
colors: {
  custom: {
    50: '#b885c6',
    500: '#9752ae',
    950: '#000000',
  },
}
SCSS
$custom: #9752ae;
$custom-light: #b885c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9752ae",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 285,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.15347,
    "h": 317.1
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#9752AE
secondary
#A4C299
accent
#CC5C78
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9752AE

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

Preview Lab → · Contrast checker → · Palette generator →

#9752AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva