#9752B4#9752B4

#9752B4 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.1% C 0.160 H 314.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9752B4
RGBrgb(151, 82, 180)
HSLhsl(282, 40%, 51%)
HSVhsv(282, 54%, 71%)
CMYKcmyk(16.1%, 54.4%, 0%, 29.4%)
CIE-LABlab(46.86, 45.17, -40.58)
CIE-LCHlch(46.86, 60.72, 318.07°)
OKLaboklab(56.08% 0.113 -0.1132)
OKLCHoklch(56.08% 0.16 314.9)
XYZxyz(24.0167, 15.9099, 44.9769)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752B4 #6FB452
analogous
#6652B4 #9752B4 #B452A0
triadic
#9752B4 #B49752 #52B497
tetradic
#9752B4 #B46652 #6FB452 #52A0B4
square
#9752B4 #B46652 #6FB452 #52A0B4
split-complementary
#9752B4 #A0B452 #52B466
monochromatic
#512A61 #753D8C #9752B4 #B17DC7 #CAA7D9

Accessibility & contrast

On white

5.02
#9752B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9752B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9752B4#FFFFFF#000000##FFFFFF
##9752B41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#95627B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9752b4;
/* rgb */ color: rgb(151, 82, 180);
/* oklch */ color: oklch(56.1% 0.160 314.9);
Tailwind
colors: {
  custom: {
    50: '#b885cb',
    500: '#9752b4',
    950: '#000000',
  },
}
SCSS
$custom: #9752b4;
$custom-light: #b885cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9752b4",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 282.245,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56085,
    "c": 0.15995,
    "h": 314.9
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#9752B4
secondary
#A8C79B
accent
#CF587C
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9752B4

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

Preview Lab → · Contrast checker → · Palette generator →

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