#B937BA#B937BA

#B937BA is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.219 H 327.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B937BA
RGBrgb(185, 55, 186)
HSLhsl(300, 54%, 47%)
HSVhsv(300, 70%, 73%)
CMYKcmyk(0.5%, 70.4%, 0%, 27.1%)
CIE-LABlab(47.74, 66.56, -42.37)
CIE-LCHlch(47.74, 78.90, 327.52°)
OKLaboklab(57.83% 0.1852 -0.1174)
OKLCHoklch(57.83% 0.219 327.6)
XYZxyz(30.2363, 16.5940, 48.0553)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937BA #38BA37
analogous
#7837BA #B937BA #BA377A
triadic
#B937BA #BAB937 #37BAB9
tetradic
#B937BA #BA7837 #38BA37 #377ABA
square
#B937BA #BA7837 #38BA37 #377ABA
split-complementary
#B937BA #7ABA37 #37BA78
monochromatic
#5B1B5C #8A298B #B937BA #CF5FD0 #DD8EDE

Accessibility & contrast

On white

4.86
#B937BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B937BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B937BA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937BA#FFFFFF#000000##FFFFFF
##B937BA1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BE
Deuteranopia (green-blind)
#5977B7
Tritanopia (blue-blind)
#BF4B75
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b937ba;
/* rgb */ color: rgb(185, 55, 186);
/* oklch */ color: oklch(57.8% 0.219 327.6);
Tailwind
colors: {
  custom: {
    50: '#d27acf',
    500: '#b937ba',
    950: '#000000',
  },
}
SCSS
$custom: #b937ba;
$custom-light: #d27acf;
$custom-dark: #000000;
JSON
{
  "hex": "#b937ba",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 299.542,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.21927,
    "h": 327.6
  },
  "luminance": 0.16592
}

Semantic roles & 50–950 ramp

primary
#B937BA
secondary
#85C885
accent
#DE4A4B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B937BA

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

Preview Lab → · Contrast checker → · Palette generator →

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