#B931BB#B931BB

#B931BB is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.226 H 327.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B931BB
RGBrgb(185, 49, 187)
HSLhsl(299, 58%, 46%)
HSVhsv(299, 74%, 73%)
CMYKcmyk(1.1%, 73.8%, 0%, 26.7%)
CIE-LABlab(47.11, 68.71, -43.97)
CIE-LCHlch(47.11, 81.57, 327.38°)
OKLaboklab(57.39% 0.1908 -0.122)
OKLCHoklch(57.39% 0.226 327.4)
XYZxyz(30.0751, 16.1009, 48.5278)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B931BB #33BB31
analogous
#7431BB #B931BB #BB3178
triadic
#B931BB #BBB931 #31BBB9
tetradic
#B931BB #BB7431 #33BB31 #3178BB
square
#B931BB #BB7431 #33BB31 #3178BB
split-complementary
#B931BB #78BB31 #31BB74
monochromatic
#59185A #89248B #B931BB #D156D3 #DE87E0

Accessibility & contrast

On white

4.98
#B931BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#B931BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B931BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B931BB#FFFFFF#000000##FFFFFF
##B931BB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E65BF
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#BE4774
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b931bb;
/* rgb */ color: rgb(185, 49, 187);
/* oklch */ color: oklch(57.4% 0.226 327.4);
Tailwind
colors: {
  custom: {
    50: '#d278d0',
    500: '#b931bb',
    950: '#000000',
  },
}
SCSS
$custom: #b931bb;
$custom-light: #d278d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b931bb",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 299.13,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5739,
    "c": 0.22644,
    "h": 327.4
  },
  "luminance": 0.16099
}

Semantic roles & 50–950 ramp

primary
#B931BB
secondary
#80C97F
accent
#E24648
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B931BB

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

Preview Lab → · Contrast checker → · Palette generator →

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