#B937C3#B937C3

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

Color values

HEX#B937C3
RGBrgb(185, 55, 195)
HSLhsl(296, 56%, 49%)
HSVhsv(296, 72%, 76%)
CMYKcmyk(5.1%, 71.8%, 0%, 23.5%)
CIE-LABlab(48.25, 68.08, -46.81)
CIE-LCHlch(48.25, 82.62, 325.49°)
OKLaboklab(58.35% 0.1851 -0.1303)
OKLCHoklch(58.35% 0.226 324.9)
XYZxyz(31.2233, 16.9888, 53.2538)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B937C3 #41C337
analogous
#7337C3 #B937C3 #C33787
triadic
#B937C3 #C3B937 #37C3B9
tetradic
#B937C3 #C37337 #41C337 #3787C3
square
#B937C3 #C37337 #41C337 #3787C3
split-complementary
#B937C3 #87C337 #37C373
monochromatic
#5E1C64 #8C2A93 #B937C3 #CB64D3 #DB94E1

Accessibility & contrast

On white

4.78
#B937C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B937C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B937C3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B937C3#FFFFFF#000000##FFFFFF
##B937C31.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0868C7
Deuteranopia (green-blind)
#5378C0
Tritanopia (blue-blind)
#BD4F7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b937c3;
/* rgb */ color: rgb(185, 55, 195);
/* oklch */ color: oklch(58.4% 0.226 324.9);
Tailwind
colors: {
  custom: {
    50: '#d27ad6',
    500: '#b937c3',
    950: '#000000',
  },
}
SCSS
$custom: #b937c3;
$custom-light: #d27ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b937c3",
  "rgb": {
    "r": 185,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 295.714,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5835,
    "c": 0.22637,
    "h": 324.9
  },
  "luminance": 0.16987
}

Semantic roles & 50–950 ramp

primary
#B937C3
secondary
#8FCC8A
accent
#DF4953
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B937C3

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

Preview Lab → · Contrast checker → · Palette generator →

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