#B931BD#B931BD

#B931BD is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.228 H 326.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B931BD
RGBrgb(185, 49, 189)
HSLhsl(298, 59%, 47%)
HSVhsv(298, 74%, 74%)
CMYKcmyk(2.1%, 74.1%, 0%, 25.9%)
CIE-LABlab(47.22, 69.03, -44.95)
CIE-LCHlch(47.22, 82.38, 326.93°)
OKLaboklab(57.51% 0.1907 -0.1248)
OKLCHoklch(57.51% 0.228 326.8)
XYZxyz(30.2907, 16.1872, 49.6633)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931BD #35BD31
analogous
#7331BD #B931BD #BD317B
triadic
#B931BD #BDB931 #31BDB9
tetradic
#B931BD #BD7331 #35BD31 #317BBD
square
#B931BD #BD7331 #35BD31 #317BBD
split-complementary
#B931BD #7BBD31 #31BD73
monochromatic
#5A185C #89248C #B931BD #D058D4 #DE88E0

Accessibility & contrast

On white

4.96
#B931BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B931BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931BD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931BD#FFFFFF#000000##FFFFFF
##B931BD1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0665C1
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#BE4875
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b931bd;
/* rgb */ color: rgb(185, 49, 189);
/* oklch */ color: oklch(57.5% 0.228 326.8);
Tailwind
colors: {
  custom: {
    50: '#d278d1',
    500: '#b931bd',
    950: '#000000',
  },
}
SCSS
$custom: #b931bd;
$custom-light: #d278d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b931bd",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 298.286,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57507,
    "c": 0.22796,
    "h": 326.8
  },
  "luminance": 0.16185
}

Semantic roles & 50–950 ramp

primary
#B931BD
secondary
#82CA80
accent
#E2464A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B931BD

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

Preview Lab → · Contrast checker → · Palette generator →

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