#B937C5#B937C5

#B937C5 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.5% C 0.228 H 324.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B937C5
RGBrgb(185, 55, 197)
HSLhsl(295, 56%, 49%)
HSVhsv(295, 72%, 77%)
CMYKcmyk(6.1%, 72.1%, 0%, 22.7%)
CIE-LABlab(48.36, 68.42, -47.78)
CIE-LCHlch(48.36, 83.45, 325.07°)
OKLaboklab(58.47% 0.185 -0.1331)
OKLCHoklch(58.47% 0.228 324.3)
XYZxyz(31.4510, 17.0798, 54.4527)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937C5 #43C537
analogous
#7237C5 #B937C5 #C5378A
triadic
#B937C5 #C5B937 #37C5B9
tetradic
#B937C5 #C57237 #43C537 #378AC5
square
#B937C5 #C57237 #43C537 #378AC5
split-complementary
#B937C5 #8AC537 #37C572
monochromatic
#5F1C65 #8C2A95 #B937C5 #CB65D4 #DB95E1

Accessibility & contrast

On white

4.76
#B937C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B937C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B937C5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937C5#FFFFFF#000000##FFFFFF
##B937C51.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#5278C2
Tritanopia (blue-blind)
#BD507B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b937c5;
/* rgb */ color: rgb(185, 55, 197);
/* oklch */ color: oklch(58.5% 0.228 324.3);
Tailwind
colors: {
  custom: {
    50: '#d27ad7',
    500: '#b937c5',
    950: '#000000',
  },
}
SCSS
$custom: #b937c5;
$custom-light: #d27ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#b937c5",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 294.93,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.22796,
    "h": 324.3
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#B937C5
secondary
#91CD8B
accent
#E04855
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B937C5

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

Preview Lab → · Contrast checker → · Palette generator →

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