#B937BB#B937BB

#B937BB is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.220 H 327.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B937BB
RGBrgb(185, 55, 187)
HSLhsl(299, 55%, 47%)
HSVhsv(299, 71%, 73%)
CMYKcmyk(1.1%, 70.6%, 0%, 26.7%)
CIE-LABlab(47.80, 66.73, -42.87)
CIE-LCHlch(47.80, 79.31, 327.28°)
OKLaboklab(57.89% 0.1852 -0.1188)
OKLCHoklch(57.89% 0.22 327.3)
XYZxyz(30.3430, 16.6366, 48.6171)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937BB #39BB37
analogous
#7737BB #B937BB #BB377B
triadic
#B937BB #BBB937 #37BBB9
tetradic
#B937BB #BB7737 #39BB37 #377BBB
square
#B937BB #BB7737 #39BB37 #377BBB
split-complementary
#B937BB #7BBB37 #37BB77
monochromatic
#5B1B5C #8A298C #B937BB #CE5FD0 #DD8EDE

Accessibility & contrast

On white

4.85
#B937BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B937BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B937BB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937BB#FFFFFF#000000##FFFFFF
##B937BB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#BE4B76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b937bb;
/* rgb */ color: rgb(185, 55, 187);
/* oklch */ color: oklch(57.9% 0.220 327.3);
Tailwind
colors: {
  custom: {
    50: '#d27ad0',
    500: '#b937bb',
    950: '#000000',
  },
}
SCSS
$custom: #b937bb;
$custom-light: #d27ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b937bb",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 299.091,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.22005,
    "h": 327.3
  },
  "luminance": 0.16635
}

Semantic roles & 50–950 ramp

primary
#B937BB
secondary
#86C985
accent
#DE4A4C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B937BB

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

Preview Lab → · Contrast checker → · Palette generator →

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