#9752AF#9752AF

#9752AF is a mid, vivid purple. Relative luminance 0.157; OKLCH L 55.8% C 0.155 H 316.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9752AF
RGBrgb(151, 82, 175)
HSLhsl(285, 37%, 50%)
HSVhsv(285, 53%, 69%)
CMYKcmyk(13.7%, 53.1%, 0%, 31.4%)
CIE-LABlab(46.59, 44.10, -38.07)
CIE-LCHlch(46.59, 58.26, 319.20°)
OKLaboklab(55.8% 0.1125 -0.106)
OKLCHoklch(55.8% 0.155 316.7)
XYZxyz(23.5165, 15.7098, 42.3427)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752AF #6AAF52
analogous
#6852AF #9752AF #AF5298
triadic
#9752AF #AF9752 #52AF97
tetradic
#9752AF #AF6852 #6AAF52 #5298AF
square
#9752AF #AF6852 #6AAF52 #5298AF
split-complementary
#9752AF #98AF52 #52AF68
monochromatic
#4F2B5C #733E86 #9752AF #B07CC2 #C9A6D6

Accessibility & contrast

On white

5.07
#9752AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9752AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752AF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752AF#FFFFFF#000000##FFFFFF
##9752AF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#5471AD
Tritanopia (blue-blind)
#966079
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9752af;
/* rgb */ color: rgb(151, 82, 175);
/* oklch */ color: oklch(55.8% 0.155 316.7);
Tailwind
colors: {
  custom: {
    50: '#b885c7',
    500: '#9752af',
    950: '#000000',
  },
}
SCSS
$custom: #9752af;
$custom-light: #b885c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9752af",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 284.516,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55804,
    "c": 0.15454,
    "h": 316.7
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#9752AF
secondary
#A4C39A
accent
#CD5B78
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9752AF

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

Preview Lab → · Contrast checker → · Palette generator →

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