#B937BC#B937BC

#B937BC is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.221 H 327.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B937BC
RGBrgb(185, 55, 188)
HSLhsl(299, 55%, 48%)
HSVhsv(299, 71%, 74%)
CMYKcmyk(1.6%, 70.7%, 0%, 26.3%)
CIE-LABlab(47.85, 66.90, -43.36)
CIE-LCHlch(47.85, 79.72, 327.05°)
OKLaboklab(57.94% 0.1852 -0.1203)
OKLCHoklch(57.94% 0.221 327)
XYZxyz(30.4504, 16.6796, 49.1829)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937BC #3ABC37
analogous
#7737BC #B937BC #BC377C
triadic
#B937BC #BCB937 #37BCB9
tetradic
#B937BC #BC7737 #3ABC37 #377CBC
square
#B937BC #BC7737 #3ABC37 #377CBC
split-complementary
#B937BC #7CBC37 #37BC77
monochromatic
#5C1B5D #8A298D #B937BC #CE60D0 #DC8FDE

Accessibility & contrast

On white

4.84
#B937BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B937BC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937BC#FFFFFF#000000##FFFFFF
##B937BC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C0
Deuteranopia (green-blind)
#5877B9
Tritanopia (blue-blind)
#BE4C76
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b937bc;
/* rgb */ color: rgb(185, 55, 188);
/* oklch */ color: oklch(57.9% 0.221 327.0);
Tailwind
colors: {
  custom: {
    50: '#d27ad1',
    500: '#b937bc',
    950: '#000000',
  },
}
SCSS
$custom: #b937bc;
$custom-light: #d27ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b937bc",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 298.647,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57943,
    "c": 0.22083,
    "h": 327
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#B937BC
secondary
#87C986
accent
#DE4A4D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B937BC

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

Preview Lab → · Contrast checker → · Palette generator →

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