#9752BB#9752BB

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

Color values

HEX#9752BB
RGBrgb(151, 82, 187)
HSLhsl(279, 44%, 53%)
HSVhsv(279, 56%, 73%)
CMYKcmyk(19.3%, 56.1%, 0%, 26.7%)
CIE-LABlab(47.24, 46.70, -44.05)
CIE-LCHlch(47.24, 64.20, 316.67°)
OKLaboklab(56.49% 0.1134 -0.1234)
OKLCHoklch(56.49% 0.168 312.6)
XYZxyz(24.7479, 16.2024, 48.8278)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752BB #76BB52
analogous
#6352BB #9752BB #BB52AA
triadic
#9752BB #BB9752 #52BB97
tetradic
#9752BB #BB6352 #76BB52 #52AABB
square
#9752BB #BB6352 #76BB52 #52AABB
split-complementary
#9752BB #AABB52 #52BB63
monochromatic
#532969 #763B95 #9752BB #B17ECC #CCAADE

Accessibility & contrast

On white

4.95
#9752BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9752BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9752BB#FFFFFF#000000##FFFFFF
##9752BB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#4C72B8
Tritanopia (blue-blind)
#93647F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9752bb;
/* rgb */ color: rgb(151, 82, 187);
/* oklch */ color: oklch(56.5% 0.168 312.6);
Tailwind
colors: {
  custom: {
    50: '#b886d0',
    500: '#9752bb',
    950: '#000000',
  },
}
SCSS
$custom: #9752bb;
$custom-light: #b886d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9752bb",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 279.429,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56491,
    "c": 0.16758,
    "h": 312.6
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#9752BB
secondary
#ADCB9E
accent
#D35480
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9752BB

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

Preview Lab → · Contrast checker → · Palette generator →

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