#B937BD#B937BD

#B937BD is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.222 H 326.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B937BD
RGBrgb(185, 55, 189)
HSLhsl(298, 55%, 48%)
HSVhsv(298, 71%, 74%)
CMYKcmyk(2.1%, 70.9%, 0%, 25.9%)
CIE-LABlab(47.91, 67.06, -43.86)
CIE-LCHlch(47.91, 80.13, 326.82°)
OKLaboklab(58% 0.1852 -0.1217)
OKLCHoklch(58% 0.222 326.7)
XYZxyz(30.5585, 16.7229, 49.7526)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937BD #3BBD37
analogous
#7637BD #B937BD #BD377E
triadic
#B937BD #BDB937 #37BDB9
tetradic
#B937BD #BD7637 #3BBD37 #377EBD
square
#B937BD #BD7637 #3BBD37 #377EBD
split-complementary
#B937BD #7EBD37 #37BD76
monochromatic
#5C1B5E #8B298E #B937BD #CD60D1 #DC90DF

Accessibility & contrast

On white

4.83
#B937BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B937BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B937BD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937BD#FFFFFF#000000##FFFFFF
##B937BD1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C1
Deuteranopia (green-blind)
#5777BA
Tritanopia (blue-blind)
#BE4C77
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b937bd;
/* rgb */ color: rgb(185, 55, 189);
/* oklch */ color: oklch(58.0% 0.222 326.7);
Tailwind
colors: {
  custom: {
    50: '#d27ad1',
    500: '#b937bd',
    950: '#000000',
  },
}
SCSS
$custom: #b937bd;
$custom-light: #d27ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b937bd",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 298.209,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58,
    "c": 0.22162,
    "h": 326.7
  },
  "luminance": 0.16721
}

Semantic roles & 50–950 ramp

primary
#B937BD
secondary
#88C986
accent
#DE4A4E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B937BD

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

Preview Lab → · Contrast checker → · Palette generator →

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