#B936C2#B936C2

#B936C2 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.227 H 325.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B936C2
RGBrgb(185, 54, 194)
HSLhsl(296, 56%, 49%)
HSVhsv(296, 72%, 76%)
CMYKcmyk(4.6%, 72.2%, 0%, 23.9%)
CIE-LABlab(48.07, 68.24, -46.51)
CIE-LCHlch(48.07, 82.59, 325.73°)
OKLaboklab(58.21% 0.1861 -0.1294)
OKLCHoklch(58.21% 0.227 325.2)
XYZxyz(31.0636, 16.8497, 52.6446)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B936C2 #3FC236
analogous
#7336C2 #B936C2 #C23685
triadic
#B936C2 #C2B936 #36C2B9
tetradic
#B936C2 #C27336 #3FC236 #3685C2
square
#B936C2 #C27336 #3FC236 #3685C2
split-complementary
#B936C2 #85C236 #36C273
monochromatic
#5E1B62 #8B2992 #B936C2 #CC62D3 #DC92E1

Accessibility & contrast

On white

4.81
#B936C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B936C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B936C2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B936C2#FFFFFF#000000##FFFFFF
##B936C21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0768C6
Deuteranopia (green-blind)
#5378BF
Tritanopia (blue-blind)
#BD4E79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b936c2;
/* rgb */ color: rgb(185, 54, 194);
/* oklch */ color: oklch(58.2% 0.227 325.2);
Tailwind
colors: {
  custom: {
    50: '#d27ad5',
    500: '#b936c2',
    950: '#000000',
  },
}
SCSS
$custom: #b936c2;
$custom-light: #d27ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#b936c2",
  "rgb": {
    "r": 185,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 296.143,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58206,
    "c": 0.22666,
    "h": 325.2
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#B936C2
secondary
#8DCC88
accent
#E04852
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B936C2

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

Preview Lab → · Contrast checker → · Palette generator →

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