#9752B2#9752B2

#9752B2 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.0% C 0.158 H 315.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9752B2
RGBrgb(151, 82, 178)
HSLhsl(283, 38%, 51%)
HSVhsv(283, 54%, 70%)
CMYKcmyk(15.2%, 53.9%, 0%, 30.2%)
CIE-LABlab(46.75, 44.74, -39.58)
CIE-LCHlch(46.75, 59.73, 318.51°)
OKLaboklab(55.97% 0.1128 -0.1103)
OKLCHoklch(55.97% 0.158 315.6)
XYZxyz(23.8144, 15.8290, 43.9117)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752B2 #6DB252
analogous
#6752B2 #9752B2 #B2529D
triadic
#9752B2 #B29752 #52B297
tetradic
#9752B2 #B26752 #6DB252 #529DB2
square
#9752B2 #B26752 #6DB252 #529DB2
split-complementary
#9752B2 #9DB252 #52B267
monochromatic
#502A5F #743D8A #9752B2 #B07CC5 #CAA7D8

Accessibility & contrast

On white

5.04
#9752B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9752B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9752B2#FFFFFF#000000##FFFFFF
##9752B21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#5271AF
Tritanopia (blue-blind)
#95617A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9752b2;
/* rgb */ color: rgb(151, 82, 178);
/* oklch */ color: oklch(56.0% 0.158 315.6);
Tailwind
colors: {
  custom: {
    50: '#b885c9',
    500: '#9752b2',
    950: '#000000',
  },
}
SCSS
$custom: #9752b2;
$custom-light: #b885c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9752b2",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 283.125,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55972,
    "c": 0.15778,
    "h": 315.6
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

primary
#9752B2
secondary
#A7C59B
accent
#CE597A
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9752B2

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

Preview Lab → · Contrast checker → · Palette generator →

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