#9752A2#9752A2

#9752A2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.1% C 0.141 H 322.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9752A2
RGBrgb(151, 82, 162)
HSLhsl(292, 33%, 48%)
HSVhsv(292, 49%, 64%)
CMYKcmyk(6.8%, 49.4%, 0%, 36.5%)
CIE-LABlab(45.94, 41.41, -31.43)
CIE-LCHlch(45.94, 51.99, 322.80°)
OKLaboklab(55.11% 0.1109 -0.0867)
OKLCHoklch(55.11% 0.141 322)
XYZxyz(22.3007, 15.2235, 35.9392)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752A2 #5DA252
analogous
#6F52A2 #9752A2 #A25285
triadic
#9752A2 #A29752 #52A297
tetradic
#9752A2 #A26F52 #5DA252 #5285A2
square
#9752A2 #A26F52 #5DA252 #5285A2
split-complementary
#9752A2 #85A252 #52A26F
monochromatic
#4B2951 #713D79 #9752A2 #B177BA #C8A0CF

Accessibility & contrast

On white

5.19
#9752A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9752A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9752A2#FFFFFF#000000##FFFFFF
##9752A21.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#995C72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9752a2;
/* rgb */ color: rgb(151, 82, 162);
/* oklch */ color: oklch(55.1% 0.141 322.0);
Tailwind
colors: {
  custom: {
    50: '#b785be',
    500: '#9752a2',
    950: '#000000',
  },
}
SCSS
$custom: #9752a2;
$custom-light: #b785be;
$custom-dark: #000000;
JSON
{
  "hex": "#9752a2",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 291.75,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55109,
    "c": 0.14077,
    "h": 322
  },
  "luminance": 0.15223
}

Semantic roles & 50–950 ramp

primary
#9752A2
secondary
#99BC94
accent
#C95F6D
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #9752A2

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

Preview Lab → · Contrast checker → · Palette generator →

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