#B936C3#B936C3

#B936C3 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.227 H 324.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B936C3
RGBrgb(185, 54, 195)
HSLhsl(296, 57%, 49%)
HSVhsv(296, 72%, 76%)
CMYKcmyk(5.1%, 72.3%, 0%, 23.5%)
CIE-LABlab(48.13, 68.42, -47.00)
CIE-LCHlch(48.13, 83.00, 325.51°)
OKLaboklab(58.27% 0.1861 -0.1308)
OKLCHoklch(58.27% 0.227 324.9)
XYZxyz(31.1763, 16.8947, 53.2381)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B936C3 #40C336
analogous
#7336C3 #B936C3 #C33687
triadic
#B936C3 #C3B936 #36C3B9
tetradic
#B936C3 #C37336 #40C336 #3687C3
square
#B936C3 #C37336 #40C336 #3687C3
split-complementary
#B936C3 #87C336 #36C373
monochromatic
#5E1B63 #8C2993 #B936C3 #CC63D4 #DB92E1

Accessibility & contrast

On white

4.80
#B936C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B936C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B936C3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B936C3#FFFFFF#000000##FFFFFF
##B936C31.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0368C7
Deuteranopia (green-blind)
#5378C0
Tritanopia (blue-blind)
#BD4E7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b936c3;
/* rgb */ color: rgb(185, 54, 195);
/* oklch */ color: oklch(58.3% 0.227 324.9);
Tailwind
colors: {
  custom: {
    50: '#d27ad6',
    500: '#b936c3',
    950: '#000000',
  },
}
SCSS
$custom: #b936c3;
$custom-light: #d27ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b936c3",
  "rgb": {
    "r": 185,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 295.745,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58265,
    "c": 0.22745,
    "h": 324.9
  },
  "luminance": 0.16893
}

Semantic roles & 50–950 ramp

primary
#B936C3
secondary
#8ECC89
accent
#E04853
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B936C3

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

Preview Lab → · Contrast checker → · Palette generator →

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