#B937AB#B937AB

#B937AB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.208 H 332.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B937AB
RGBrgb(185, 55, 171)
HSLhsl(306, 54%, 47%)
HSVhsv(306, 70%, 73%)
CMYKcmyk(0%, 70.3%, 7.6%, 27.5%)
CIE-LABlab(46.96, 64.16, -34.80)
CIE-LCHlch(46.96, 72.99, 331.52°)
OKLaboklab(57.01% 0.1846 -0.0955)
OKLCHoklch(57.01% 0.208 332.7)
XYZxyz(28.7246, 15.9893, 40.0936)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937AB #37B945
analogous
#8637B9 #B937AB #B9376A
triadic
#B937AB #ABB937 #37ABB9
tetradic
#B937AB #B98637 #37B945 #376AB9
square
#B937AB #B98637 #37B945 #376AB9
split-complementary
#B937AB #6AB937 #37B986
monochromatic
#5B1B54 #8A297F #B937AB #CF5EC3 #DD8DD5

Accessibility & contrast

On white

5.00
#B937AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B937AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B937AB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937AB#FFFFFF#000000##FFFFFF
##B937AB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AE
Deuteranopia (green-blind)
#6076A8
Tritanopia (blue-blind)
#C1446D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b937ab;
/* rgb */ color: rgb(185, 55, 171);
/* oklch */ color: oklch(57.0% 0.208 332.7);
Tailwind
colors: {
  custom: {
    50: '#d279c4',
    500: '#b937ab',
    950: '#000000',
  },
}
SCSS
$custom: #b937ab;
$custom-light: #d279c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b937ab",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 306.462,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57011,
    "c": 0.20785,
    "h": 332.7
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#B937AB
secondary
#84C88B
accent
#DE5A4A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B937AB

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

Preview Lab → · Contrast checker → · Palette generator →

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