#B939CC#B939CC

#B939CC is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.1% C 0.231 H 322.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B939CC
RGBrgb(185, 57, 204)
HSLhsl(292, 59%, 51%)
HSVhsv(292, 72%, 80%)
CMYKcmyk(9.3%, 72.1%, 0%, 20%)
CIE-LABlab(49.01, 68.95, -50.79)
CIE-LCHlch(49.01, 85.64, 323.63°)
OKLaboklab(59.06% 0.1829 -0.1419)
OKLCHoklch(59.06% 0.231 322.2)
XYZxyz(32.3687, 17.6020, 58.8076)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B939CC #4CCC39
analogous
#6F39CC #B939CC #CC3995
triadic
#B939CC #CCB939 #39CCB9
tetradic
#B939CC #CC6F39 #4CCC39 #3995CC
square
#B939CC #CC6F39 #4CCC39 #3995CC
split-complementary
#B939CC #95CC39 #39CC6F
monochromatic
#641C6E #90299F #B939CC #CA6AD9 #DB9AE5

Accessibility & contrast

On white

4.65
#B939CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B939CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B939CC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B939CC#FFFFFF#000000##FFFFFF
##B939CC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#4E79C9
Tritanopia (blue-blind)
#BB5480
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b939cc;
/* rgb */ color: rgb(185, 57, 204);
/* oklch */ color: oklch(59.1% 0.231 322.2);
Tailwind
colors: {
  custom: {
    50: '#d27cdc',
    500: '#b939cc',
    950: '#000000',
  },
}
SCSS
$custom: #b939cc;
$custom-light: #d27cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b939cc",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 292.245,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59063,
    "c": 0.23147,
    "h": 322.2
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#B939CC
secondary
#98D190
accent
#E2465A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B939CC

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

Preview Lab → · Contrast checker → · Palette generator →

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