#B939C7#B939C7

#B939C7 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.227 H 323.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B939C7
RGBrgb(185, 57, 199)
HSLhsl(294, 56%, 50%)
HSVhsv(294, 71%, 78%)
CMYKcmyk(7%, 71.4%, 0%, 22%)
CIE-LABlab(48.72, 68.07, -48.37)
CIE-LCHlch(48.72, 83.51, 324.60°)
OKLaboklab(58.76% 0.1831 -0.1349)
OKLCHoklch(58.76% 0.227 323.6)
XYZxyz(31.7786, 17.3660, 55.6999)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B939C7 #47C739
analogous
#7239C7 #B939C7 #C7398E
triadic
#B939C7 #C7B939 #39C7B9
tetradic
#B939C7 #C77239 #47C739 #398EC7
square
#B939C7 #C77239 #47C739 #398EC7
split-complementary
#B939C7 #8EC739 #39C772
monochromatic
#611D68 #8D2B98 #B939C7 #CA69D4 #DB98E2

Accessibility & contrast

On white

4.70
#B939C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B939C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B939C7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B939C7#FFFFFF#000000##FFFFFF
##B939C71.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#5179C4
Tritanopia (blue-blind)
#BC527D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b939c7;
/* rgb */ color: rgb(185, 57, 199);
/* oklch */ color: oklch(58.8% 0.227 323.6);
Tailwind
colors: {
  custom: {
    50: '#d27bd8',
    500: '#b939c7',
    950: '#000000',
  },
}
SCSS
$custom: #b939c7;
$custom-light: #d27bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b939c7",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 294.085,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58761,
    "c": 0.22739,
    "h": 323.6
  },
  "luminance": 0.17364
}

Semantic roles & 50–950 ramp

primary
#B939C7
secondary
#94CE8E
accent
#DF4957
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A15
muted
#837C83

Preview Lab

Preview with #B939C7

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

Preview Lab → · Contrast checker → · Palette generator →

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