#B939BA#B939BA

#B939BA is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.217 H 327.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B939BA
RGBrgb(185, 57, 186)
HSLhsl(300, 53%, 48%)
HSVhsv(300, 69%, 73%)
CMYKcmyk(0.5%, 69.4%, 0%, 27.1%)
CIE-LABlab(47.99, 65.86, -41.98)
CIE-LCHlch(47.99, 78.10, 327.49°)
OKLaboklab(58.01% 0.1832 -0.1162)
OKLCHoklch(58.01% 0.217 327.6)
XYZxyz(30.3332, 16.7878, 48.0876)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B939BA #3ABA39
analogous
#7939BA #B939BA #BA397A
triadic
#B939BA #BAB939 #39BAB9
tetradic
#B939BA #BA7939 #3ABA39 #397ABA
square
#B939BA #BA7939 #3ABA39 #397ABA
split-complementary
#B939BA #7ABA39 #39BA79
monochromatic
#5C1C5C #8A2B8B #B939BA #CE61CF #DC90DD

Accessibility & contrast

On white

4.82
#B939BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B939BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B939BA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B939BA#FFFFFF#000000##FFFFFF
##B939BA1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2267BE
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#BF4C76
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b939ba;
/* rgb */ color: rgb(185, 57, 186);
/* oklch */ color: oklch(58.0% 0.217 327.6);
Tailwind
colors: {
  custom: {
    50: '#d27bcf',
    500: '#b939ba',
    950: '#000000',
  },
}
SCSS
$custom: #b939ba;
$custom-light: #d27bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b939ba",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 299.535,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.217,
    "h": 327.6
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#B939BA
secondary
#87C887
accent
#DC4B4C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B939BA

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

Preview Lab → · Contrast checker → · Palette generator →

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