#B937BF#B937BF

#B937BF is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.223 H 326.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B937BF
RGBrgb(185, 55, 191)
HSLhsl(297, 55%, 48%)
HSVhsv(297, 71%, 75%)
CMYKcmyk(3.1%, 71.2%, 0%, 25.1%)
CIE-LABlab(48.02, 67.40, -44.84)
CIE-LCHlch(48.02, 80.95, 326.36°)
OKLaboklab(58.12% 0.1852 -0.1246)
OKLCHoklch(58.12% 0.223 326.1)
XYZxyz(30.7771, 16.8103, 50.9038)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937BF #3DBF37
analogous
#7537BF #B937BF #BF3781
triadic
#B937BF #BFB937 #37BFB9
tetradic
#B937BF #BF7537 #3DBF37 #3781BF
square
#B937BF #BF7537 #3DBF37 #3781BF
split-complementary
#B937BF #81BF37 #37BF75
monochromatic
#5D1C60 #8B298F #B937BF #CD62D2 #DC91DF

Accessibility & contrast

On white

4.81
#B937BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B937BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B937BF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937BF#FFFFFF#000000##FFFFFF
##B937BF1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#BE4D78
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b937bf;
/* rgb */ color: rgb(185, 55, 191);
/* oklch */ color: oklch(58.1% 0.223 326.1);
Tailwind
colors: {
  custom: {
    50: '#d27ad3',
    500: '#b937bf',
    950: '#000000',
  },
}
SCSS
$custom: #b937bf;
$custom-light: #d27ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b937bf",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 297.353,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58115,
    "c": 0.22319,
    "h": 326.1
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#B937BF
secondary
#8BCA88
accent
#DF4950
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B937BF

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

Preview Lab → · Contrast checker → · Palette generator →

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