#B937C4#B937C4

#B937C4 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.227 H 324.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B937C4
RGBrgb(185, 55, 196)
HSLhsl(295, 56%, 49%)
HSVhsv(295, 72%, 77%)
CMYKcmyk(5.6%, 71.9%, 0%, 23.1%)
CIE-LABlab(48.30, 68.25, -47.30)
CIE-LCHlch(48.30, 83.03, 325.28°)
OKLaboklab(58.41% 0.1851 -0.1317)
OKLCHoklch(58.41% 0.227 324.6)
XYZxyz(31.3368, 17.0342, 53.8512)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937C4 #42C437
analogous
#7337C4 #B937C4 #C43789
triadic
#B937C4 #C4B937 #37C4B9
tetradic
#B937C4 #C47337 #42C437 #3789C4
square
#B937C4 #C47337 #42C437 #3789C4
split-complementary
#B937C4 #89C437 #37C473
monochromatic
#5F1C64 #8C2A94 #B937C4 #CB65D4 #DB94E1

Accessibility & contrast

On white

4.77
#B937C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B937C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B937C4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937C4#FFFFFF#000000##FFFFFF
##B937C41.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0369C8
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#BD4F7B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b937c4;
/* rgb */ color: rgb(185, 55, 196);
/* oklch */ color: oklch(58.4% 0.227 324.6);
Tailwind
colors: {
  custom: {
    50: '#d27ad6',
    500: '#b937c4',
    950: '#000000',
  },
}
SCSS
$custom: #b937c4;
$custom-light: #d27ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b937c4",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 295.319,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58409,
    "c": 0.22717,
    "h": 324.6
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#B937C4
secondary
#90CC8B
accent
#DF4854
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B937C4

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

Preview Lab → · Contrast checker → · Palette generator →

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