#B952BB#B952BB

#B952BB is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.184 H 326.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B952BB
RGBrgb(185, 82, 187)
HSLhsl(299, 44%, 53%)
HSVhsv(299, 56%, 73%)
CMYKcmyk(1.1%, 56.1%, 0%, 26.7%)
CIE-LABlab(51.77, 55.71, -36.60)
CIE-LCHlch(51.77, 66.66, 326.70°)
OKLaboklab(60.76% 0.1542 -0.1009)
OKLCHoklch(60.76% 0.184 326.8)
XYZxyz(31.9939, 19.9386, 49.1674)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952BB #54BB52
analogous
#8452BB #B952BB #BB5288
triadic
#B952BB #BBB952 #52BBB9
tetradic
#B952BB #BB8452 #54BB52 #5288BB
square
#B952BB #BB8452 #54BB52 #5288BB
split-complementary
#B952BB #88BB52 #52BB84
monochromatic
#682969 #933B95 #B952BB #CB7ECC #DDAADE

Accessibility & contrast

On white

4.21
#B952BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B952BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952BB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952BB#FFFFFF#000000##000000
##B952BB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#6880B8
Tritanopia (blue-blind)
#BE5F7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b952bb;
/* rgb */ color: rgb(185, 82, 187);
/* oklch */ color: oklch(60.8% 0.184 326.8);
Tailwind
colors: {
  custom: {
    50: '#d188d0',
    500: '#b952bb',
    950: '#000000',
  },
}
SCSS
$custom: #b952bb;
$custom-light: #d188d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b952bb",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 298.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60762,
    "c": 0.18429,
    "h": 326.8
  },
  "luminance": 0.19937
}

Semantic roles & 50–950 ramp

primary
#B952BB
secondary
#9FCB9E
accent
#D35457
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B952BB

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

Preview Lab → · Contrast checker → · Palette generator →

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