#B952DB#B952DB

#B952DB is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.5% C 0.214 H 316.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B952DB
RGBrgb(185, 82, 219)
HSLhsl(285, 66%, 59%)
HSVhsv(285, 63%, 86%)
CMYKcmyk(15.5%, 62.6%, 0%, 14.1%)
CIE-LABlab(53.45, 61.75, -52.26)
CIE-LCHlch(53.45, 80.89, 319.76°)
OKLaboklab(62.54% 0.1558 -0.1464)
OKLCHoklch(62.54% 0.214 316.8)
XYZxyz(35.8092, 21.4647, 69.2609)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B952DB #74DB52
analogous
#7552DB #B952DB #DB52B9
triadic
#B952DB #DBB952 #52DBB9
tetradic
#B952DB #DB7552 #74DB52 #52B9DB
square
#B952DB #DB7552 #74DB52 #52B9DB
split-complementary
#B952DB #B9DB52 #52DB75
monochromatic
#771F94 #9F29C6 #B952DB #CD85E6 #E2B7F0

Accessibility & contrast

On white

3.97
#B952DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B952DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B952DB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B952DB#FFFFFF#000000##000000
##B952DB1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DF
Deuteranopia (green-blind)
#5483D8
Tritanopia (blue-blind)
#B76A8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b952db;
/* rgb */ color: rgb(185, 82, 219);
/* oklch */ color: oklch(62.5% 0.214 316.8);
Tailwind
colors: {
  custom: {
    50: '#d189e7',
    500: '#b952db',
    950: '#000000',
  },
}
SCSS
$custom: #b952db;
$custom-light: #d189e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b952db",
  "rgb": {
    "r": 185,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 285.109,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62535,
    "c": 0.21379,
    "h": 316.8
  },
  "luminance": 0.21463
}

Semantic roles & 50–950 ramp

primary
#B952DB
secondary
#B7DFAA
accent
#E93F69
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B952DB

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

Preview Lab → · Contrast checker → · Palette generator →

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