#B936C5#B936C5

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

Color values

HEX#B936C5
RGBrgb(185, 54, 197)
HSLhsl(295, 57%, 49%)
HSVhsv(295, 73%, 77%)
CMYKcmyk(6.1%, 72.6%, 0%, 22.7%)
CIE-LABlab(48.24, 68.76, -47.97)
CIE-LCHlch(48.24, 83.84, 325.10°)
OKLaboklab(58.38% 0.186 -0.1337)
OKLCHoklch(58.38% 0.229 324.3)
XYZxyz(31.4040, 16.9858, 54.4370)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B936C5 #42C536
analogous
#7236C5 #B936C5 #C5368A
triadic
#B936C5 #C5B936 #36C5B9
tetradic
#B936C5 #C57236 #42C536 #368AC5
square
#B936C5 #C57236 #42C536 #368AC5
split-complementary
#B936C5 #8AC536 #36C572
monochromatic
#5F1C65 #8C2995 #B936C5 #CB64D4 #DB94E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B936C5#FFFFFF#000000##FFFFFF
##B936C51.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)
#0069C9
Deuteranopia (green-blind)
#5178C2
Tritanopia (blue-blind)
#BD4F7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b936c5;
/* rgb */ color: rgb(185, 54, 197);
/* oklch */ color: oklch(58.4% 0.229 324.3);
Tailwind
colors: {
  custom: {
    50: '#d27ad7',
    500: '#b936c5',
    950: '#000000',
  },
}
SCSS
$custom: #b936c5;
$custom-light: #d27ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#b936c5",
  "rgb": {
    "r": 185,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 294.965,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.22903,
    "h": 324.3
  },
  "luminance": 0.16984
}

Semantic roles & 50–950 ramp

primary
#B936C5
secondary
#90CD8A
accent
#E04854
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B936C5

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

Preview Lab → · Contrast checker → · Palette generator →

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