#B936CA#B936CA

#B936CA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.7% C 0.233 H 322.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B936CA
RGBrgb(185, 54, 202)
HSLhsl(293, 58%, 50%)
HSVhsv(293, 73%, 79%)
CMYKcmyk(8.4%, 73.3%, 0%, 20.8%)
CIE-LABlab(48.53, 69.62, -50.40)
CIE-LCHlch(48.53, 85.95, 324.10°)
OKLaboklab(58.69% 0.1857 -0.1408)
OKLCHoklch(58.69% 0.233 322.8)
XYZxyz(31.9864, 17.2188, 57.5044)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B936CA #47CA36
analogous
#6F36CA #B936CA #CA3691
triadic
#B936CA #CAB936 #36CAB9
tetradic
#B936CA #CA6F36 #47CA36 #3691CA
square
#B936CA #CA6F36 #47CA36 #3691CA
split-complementary
#B936CA #91CA36 #36CA6F
monochromatic
#611C6A #8D299A #B936CA #CA66D7 #DB97E4

Accessibility & contrast

On white

4.73
#B936CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B936CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B936CA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B936CA#FFFFFF#000000##FFFFFF
##B936CA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#4E78C7
Tritanopia (blue-blind)
#BC527E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b936ca;
/* rgb */ color: rgb(185, 54, 202);
/* oklch */ color: oklch(58.7% 0.233 322.8);
Tailwind
colors: {
  custom: {
    50: '#d27adb',
    500: '#b936ca',
    950: '#000000',
  },
}
SCSS
$custom: #b936ca;
$custom-light: #d27adb;
$custom-dark: #000000;
JSON
{
  "hex": "#b936ca",
  "rgb": {
    "r": 185,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 293.108,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58686,
    "c": 0.23303,
    "h": 322.8
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#B936CA
secondary
#94CF8D
accent
#E14658
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B936CA

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

Preview Lab → · Contrast checker → · Palette generator →

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