#B936B2#B936B2

#B936B2 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.214 H 330.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B936B2
RGBrgb(185, 54, 178)
HSLhsl(303, 55%, 47%)
HSVhsv(303, 71%, 73%)
CMYKcmyk(0%, 70.8%, 3.8%, 27.5%)
CIE-LABlab(47.20, 65.61, -38.55)
CIE-LCHlch(47.20, 76.10, 329.56°)
OKLaboklab(57.3% 0.186 -0.1063)
OKLCHoklch(57.3% 0.214 330.3)
XYZxyz(29.3625, 16.1692, 43.6853)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B936B2 #36B93D
analogous
#7F36B9 #B936B2 #B93671
triadic
#B936B2 #B2B936 #36B2B9
tetradic
#B936B2 #B97F36 #36B93D #3671B9
square
#B936B2 #B97F36 #36B93D #3671B9
split-complementary
#B936B2 #71B936 #36B97F
monochromatic
#5A1A57 #8A2884 #B936B2 #D05DC9 #DD8CD9

Accessibility & contrast

On white

4.96
#B936B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B936B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B936B2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B936B2#FFFFFF#000000##FFFFFF
##B936B21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#5D76AF
Tritanopia (blue-blind)
#C04670
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b936b2;
/* rgb */ color: rgb(185, 54, 178);
/* oklch */ color: oklch(57.3% 0.214 330.3);
Tailwind
colors: {
  custom: {
    50: '#d279c9',
    500: '#b936b2',
    950: '#000000',
  },
}
SCSS
$custom: #b936b2;
$custom-light: #d279c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b936b2",
  "rgb": {
    "r": 185,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 303.206,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57297,
    "c": 0.21425,
    "h": 330.3
  },
  "luminance": 0.16167
}

Semantic roles & 50–950 ramp

primary
#B936B2
secondary
#83C887
accent
#DE524A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #B936B2

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

Preview Lab → · Contrast checker → · Palette generator →

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