#B937B7#B937B7

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

Color values

HEX#B937B7
RGBrgb(185, 55, 183)
HSLhsl(301, 54%, 47%)
HSVhsv(301, 70%, 73%)
CMYKcmyk(0%, 70.3%, 1.1%, 27.5%)
CIE-LABlab(47.58, 66.07, -40.87)
CIE-LCHlch(47.58, 77.69, 328.26°)
OKLaboklab(57.66% 0.1852 -0.113)
OKLCHoklch(57.66% 0.217 328.6)
XYZxyz(29.9207, 16.4677, 46.3932)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937B7 #37B939
analogous
#7A37B9 #B937B7 #B93776
triadic
#B937B7 #B7B937 #37B7B9
tetradic
#B937B7 #B97A37 #37B939 #3776B9
square
#B937B7 #B97A37 #37B939 #3776B9
split-complementary
#B937B7 #76B937 #37B97A
monochromatic
#5B1B5A #8A2988 #B937B7 #CF5ECD #DD8DDC

Accessibility & contrast

On white

4.89
#B937B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B937B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B937B7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937B7#FFFFFF#000000##FFFFFF
##B937B71.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BB
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#BF4973
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b937b7;
/* rgb */ color: rgb(185, 55, 183);
/* oklch */ color: oklch(57.7% 0.217 328.6);
Tailwind
colors: {
  custom: {
    50: '#d27acd',
    500: '#b937b7',
    950: '#000000',
  },
}
SCSS
$custom: #b937b7;
$custom-light: #d27acd;
$custom-dark: #000000;
JSON
{
  "hex": "#b937b7",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 300.923,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5766,
    "c": 0.21694,
    "h": 328.6
  },
  "luminance": 0.16466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B937B7

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

Preview Lab → · Contrast checker → · Palette generator →

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