#B952BD#B952BD

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

Color values

HEX#B952BD
RGBrgb(185, 82, 189)
HSLhsl(298, 45%, 53%)
HSVhsv(298, 57%, 74%)
CMYKcmyk(2.1%, 56.6%, 0%, 25.9%)
CIE-LABlab(51.87, 56.07, -37.60)
CIE-LCHlch(51.87, 67.51, 326.15°)
OKLaboklab(60.87% 0.1544 -0.1038)
OKLCHoklch(60.87% 0.186 326.1)
XYZxyz(32.2095, 20.0249, 50.3029)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952BD #56BD52
analogous
#8352BD #B952BD #BD528B
triadic
#B952BD #BDB952 #52BDB9
tetradic
#B952BD #BD8352 #56BD52 #528BBD
square
#B952BD #BD8352 #56BD52 #528BBD
split-complementary
#B952BD #8BBD52 #52BD83
monochromatic
#69296C #943A98 #B952BD #CB7ECE #DDABDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B952BD#FFFFFF#000000##000000
##B952BD1.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)
#4473C0
Deuteranopia (green-blind)
#6780BA
Tritanopia (blue-blind)
#BD5F80
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b952bd;
/* rgb */ color: rgb(185, 82, 189);
/* oklch */ color: oklch(60.9% 0.186 326.1);
Tailwind
colors: {
  custom: {
    50: '#d188d1',
    500: '#b952bd',
    950: '#000000',
  },
}
SCSS
$custom: #b952bd;
$custom-light: #d188d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b952bd",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 297.757,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60865,
    "c": 0.18607,
    "h": 326.1
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#B952BD
secondary
#A0CC9E
accent
#D45358
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B952BD

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

Preview Lab → · Contrast checker → · Palette generator →

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