#B939BB#B939BB

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

Color values

HEX#B939BB
RGBrgb(185, 57, 187)
HSLhsl(299, 53%, 48%)
HSVhsv(299, 70%, 73%)
CMYKcmyk(1.1%, 69.5%, 0%, 26.7%)
CIE-LABlab(48.05, 66.03, -42.47)
CIE-LCHlch(48.05, 78.51, 327.25°)
OKLaboklab(58.06% 0.1832 -0.1177)
OKLCHoklch(58.06% 0.218 327.3)
XYZxyz(30.4399, 16.8305, 48.6494)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B939BB #3BBB39
analogous
#7839BB #B939BB #BB397C
triadic
#B939BB #BBB939 #39BBB9
tetradic
#B939BB #BB7839 #3BBB39 #397CBB
square
#B939BB #BB7839 #3BBB39 #397CBB
split-complementary
#B939BB #7CBB39 #39BB78
monochromatic
#5C1C5D #8B2B8C #B939BB #CD62CF #DC91DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B939BB#FFFFFF#000000##FFFFFF
##B939BB1.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)
#2167BF
Deuteranopia (green-blind)
#5978B8
Tritanopia (blue-blind)
#BE4D76
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b939bb;
/* rgb */ color: rgb(185, 57, 187);
/* oklch */ color: oklch(58.1% 0.218 327.3);
Tailwind
colors: {
  custom: {
    50: '#d27bd0',
    500: '#b939bb',
    950: '#000000',
  },
}
SCSS
$custom: #b939bb;
$custom-light: #d27bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b939bb",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 299.077,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.21778,
    "h": 327.3
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#B939BB
secondary
#88C887
accent
#DD4B4D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B939BB

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

Preview Lab → · Contrast checker → · Palette generator →

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