#9752BC#9752BC

#9752BC is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.169 H 312.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9752BC
RGBrgb(151, 82, 188)
HSLhsl(279, 44%, 53%)
HSVhsv(279, 56%, 74%)
CMYKcmyk(19.7%, 56.4%, 0%, 26.3%)
CIE-LABlab(47.29, 46.92, -44.55)
CIE-LCHlch(47.29, 64.70, 316.49°)
OKLaboklab(56.55% 0.1135 -0.1248)
OKLCHoklch(56.55% 0.169 312.3)
XYZxyz(24.8553, 16.2453, 49.3935)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752BC #77BC52
analogous
#6252BC #9752BC #BC52AC
triadic
#9752BC #BC9752 #52BC97
tetradic
#9752BC #BC6252 #77BC52 #52ACBC
square
#9752BC #BC6252 #77BC52 #52ACBC
split-complementary
#9752BC #ACBC52 #52BC62
monochromatic
#54296A #763A97 #9752BC #B27ECD #CCAADE

Accessibility & contrast

On white

4.94
#9752BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9752BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9752BC#FFFFFF#000000##FFFFFF
##9752BC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DBF
Deuteranopia (green-blind)
#4C72B9
Tritanopia (blue-blind)
#93647F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9752bc;
/* rgb */ color: rgb(151, 82, 188);
/* oklch */ color: oklch(56.5% 0.169 312.3);
Tailwind
colors: {
  custom: {
    50: '#b886d1',
    500: '#9752bc',
    950: '#000000',
  },
}
SCSS
$custom: #9752bc;
$custom-light: #b886d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9752bc",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 279.057,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.16868,
    "h": 312.3
  },
  "luminance": 0.16245
}

Semantic roles & 50–950 ramp

primary
#9752BC
secondary
#AECC9E
accent
#D45481
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9752BC

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

Preview Lab → · Contrast checker → · Palette generator →

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