#B952BF#B952BF

#B952BF is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.0% C 0.188 H 325.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B952BF
RGBrgb(185, 82, 191)
HSLhsl(297, 46%, 54%)
HSVhsv(297, 57%, 75%)
CMYKcmyk(3.1%, 57.1%, 0%, 25.1%)
CIE-LABlab(51.96, 56.43, -38.60)
CIE-LCHlch(51.96, 68.37, 325.63°)
OKLaboklab(60.97% 0.1546 -0.1067)
OKLCHoklch(60.97% 0.188 325.4)
XYZxyz(32.4281, 20.1123, 51.4541)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952BF #58BF52
analogous
#8252BF #B952BF #BF528E
triadic
#B952BF #BFB952 #52BFB9
tetradic
#B952BF #BF8252 #58BF52 #528EBF
square
#B952BF #BF8252 #58BF52 #528EBF
split-complementary
#B952BF #8EBF52 #52BF82
monochromatic
#6A296E #95399B #B952BF #CB7FD0 #DDABE0

Accessibility & contrast

On white

4.18
#B952BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B952BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952BF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952BF#FFFFFF#000000##000000
##B952BF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#6680BC
Tritanopia (blue-blind)
#BD6081
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b952bf;
/* rgb */ color: rgb(185, 82, 191);
/* oklch */ color: oklch(61.0% 0.188 325.4);
Tailwind
colors: {
  custom: {
    50: '#d188d3',
    500: '#b952bf',
    950: '#000000',
  },
}
SCSS
$custom: #b952bf;
$custom-light: #d188d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b952bf",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 296.697,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60969,
    "c": 0.18785,
    "h": 325.4
  },
  "luminance": 0.2011
}

Semantic roles & 50–950 ramp

primary
#B952BF
secondary
#A2CE9F
accent
#D65259
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B952BF

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

Preview Lab → · Contrast checker → · Palette generator →

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