#9752AA#9752AA

#9752AA is a mid, vivid purple. Relative luminance 0.155; OKLCH L 55.5% C 0.149 H 318.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9752AA
RGBrgb(151, 82, 170)
HSLhsl(287, 35%, 49%)
HSVhsv(287, 52%, 67%)
CMYKcmyk(11.2%, 51.8%, 0%, 33.3%)
CIE-LABlab(46.33, 43.05, -35.53)
CIE-LCHlch(46.33, 55.82, 320.47°)
OKLaboklab(55.53% 0.112 -0.0986)
OKLCHoklch(55.53% 0.149 318.6)
XYZxyz(23.0345, 15.5170, 39.8041)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752AA #65AA52
analogous
#6B52AA #9752AA #AA5291
triadic
#9752AA #AA9752 #52AA97
tetradic
#9752AA #AA6B52 #65AA52 #5291AA
square
#9752AA #AA6B52 #65AA52 #5291AA
split-complementary
#9752AA #91AA52 #52AA6B
monochromatic
#4E2A57 #723E81 #9752AA #B07ABF #C9A4D3

Accessibility & contrast

On white

5.12
#9752AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9752AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9752AA#FFFFFF#000000##FFFFFF
##9752AA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4169AD
Deuteranopia (green-blind)
#5770A8
Tritanopia (blue-blind)
#975F76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9752aa;
/* rgb */ color: rgb(151, 82, 170);
/* oklch */ color: oklch(55.5% 0.149 318.6);
Tailwind
colors: {
  custom: {
    50: '#b885c3',
    500: '#9752aa',
    950: '#000000',
  },
}
SCSS
$custom: #9752aa;
$custom-light: #b885c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9752aa",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 287.045,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.14919,
    "h": 318.6
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#9752AA
secondary
#A0C098
accent
#CB5D75
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B12
muted
#817C81

Preview Lab

Preview with #9752AA

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

Preview Lab → · Contrast checker → · Palette generator →

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