#B937B8#B937B8

#B937B8 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.218 H 328.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B937B8
RGBrgb(185, 55, 184)
HSLhsl(300, 54%, 47%)
HSVhsv(300, 70%, 73%)
CMYKcmyk(0%, 70.3%, 0.5%, 27.5%)
CIE-LABlab(47.64, 66.23, -41.37)
CIE-LCHlch(47.64, 78.09, 328.01°)
OKLaboklab(57.72% 0.1852 -0.1145)
OKLCHoklch(57.72% 0.218 328.3)
XYZxyz(30.0252, 16.5095, 46.9433)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937B8 #37B938
analogous
#7937B9 #B937B8 #B93777
triadic
#B937B8 #B8B937 #37B8B9
tetradic
#B937B8 #B97937 #37B938 #3777B9
square
#B937B8 #B97937 #37B938 #3777B9
split-complementary
#B937B8 #77B937 #37B979
monochromatic
#5B1B5A #8A2989 #B937B8 #CF5ECE #DD8DDD

Accessibility & contrast

On white

4.88
#B937B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B937B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B937B8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937B8#FFFFFF#000000##FFFFFF
##B937B81.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BC
Deuteranopia (green-blind)
#5A77B5
Tritanopia (blue-blind)
#BF4A74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b937b8;
/* rgb */ color: rgb(185, 55, 184);
/* oklch */ color: oklch(57.7% 0.218 328.3);
Tailwind
colors: {
  custom: {
    50: '#d27ace',
    500: '#b937b8',
    950: '#000000',
  },
}
SCSS
$custom: #b937b8;
$custom-light: #d27ace;
$custom-dark: #000000;
JSON
{
  "hex": "#b937b8",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 300.462,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57716,
    "c": 0.21771,
    "h": 328.3
  },
  "luminance": 0.16507
}

Semantic roles & 50–950 ramp

primary
#B937B8
secondary
#84C885
accent
#DE4B4A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #B937B8

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

Preview Lab → · Contrast checker → · Palette generator →

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