#B939BF#B939BF

#B939BF is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.221 H 326.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B939BF
RGBrgb(185, 57, 191)
HSLhsl(297, 54%, 49%)
HSVhsv(297, 70%, 75%)
CMYKcmyk(3.1%, 70.2%, 0%, 25.1%)
CIE-LABlab(48.27, 66.70, -44.45)
CIE-LCHlch(48.27, 80.16, 326.32°)
OKLaboklab(58.29% 0.1833 -0.1235)
OKLCHoklch(58.29% 0.221 326)
XYZxyz(30.8741, 17.0042, 50.9361)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B939BF #3FBF39
analogous
#7639BF #B939BF #BF3982
triadic
#B939BF #BFB939 #39BFB9
tetradic
#B939BF #BF7639 #3FBF39 #3982BF
square
#B939BF #BF7639 #3FBF39 #3982BF
split-complementary
#B939BF #82BF39 #39BF76
monochromatic
#5E1D61 #8B2B90 #B939BF #CC64D1 #DC93DF

Accessibility & contrast

On white

4.77
#B939BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B939BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B939BF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B939BF#FFFFFF#000000##FFFFFF
##B939BF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#5778BC
Tritanopia (blue-blind)
#BE4E78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b939bf;
/* rgb */ color: rgb(185, 57, 191);
/* oklch */ color: oklch(58.3% 0.221 326.0);
Tailwind
colors: {
  custom: {
    50: '#d27bd3',
    500: '#b939bf',
    950: '#000000',
  },
}
SCSS
$custom: #b939bf;
$custom-light: #d27bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b939bf",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 297.313,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.22096,
    "h": 326
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#B939BF
secondary
#8DCA8A
accent
#DD4A51
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B939BF

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

Preview Lab → · Contrast checker → · Palette generator →

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