#B952BC#B952BC

#B952BC is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.8% C 0.185 H 326.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B952BC
RGBrgb(185, 82, 188)
HSLhsl(298, 44%, 53%)
HSVhsv(298, 56%, 74%)
CMYKcmyk(1.6%, 56.4%, 0%, 26.3%)
CIE-LABlab(51.82, 55.89, -37.10)
CIE-LCHlch(51.82, 67.08, 326.42°)
OKLaboklab(60.81% 0.1543 -0.1023)
OKLCHoklch(60.81% 0.185 326.5)
XYZxyz(32.1014, 19.9816, 49.7332)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952BC #55BC52
analogous
#8452BC #B952BC #BC528A
triadic
#B952BC #BCB952 #52BCB9
tetradic
#B952BC #BC8452 #55BC52 #528ABC
square
#B952BC #BC8452 #55BC52 #528ABC
split-complementary
#B952BC #8ABC52 #52BC84
monochromatic
#69296A #943A97 #B952BC #CB7ECD #DDAADE

Accessibility & contrast

On white

4.20
#B952BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B952BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952BC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952BC#FFFFFF#000000##000000
##B952BC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4573BF
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#BE5F7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b952bc;
/* rgb */ color: rgb(185, 82, 188);
/* oklch */ color: oklch(60.8% 0.185 326.5);
Tailwind
colors: {
  custom: {
    50: '#d188d0',
    500: '#b952bc',
    950: '#000000',
  },
}
SCSS
$custom: #b952bc;
$custom-light: #d188d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b952bc",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 298.302,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.18518,
    "h": 326.5
  },
  "luminance": 0.1998
}

Semantic roles & 50–950 ramp

primary
#B952BC
secondary
#9FCC9E
accent
#D45458
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B952BC

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

Preview Lab → · Contrast checker → · Palette generator →

#B952BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva