#B939C8#B939C8

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

Color values

HEX#B939C8
RGBrgb(185, 57, 200)
HSLhsl(294, 57%, 50%)
HSVhsv(294, 72%, 78%)
CMYKcmyk(7.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(48.78, 68.25, -48.86)
CIE-LCHlch(48.78, 83.93, 324.40°)
OKLaboklab(58.82% 0.183 -0.1363)
OKLCHoklch(58.82% 0.228 323.3)
XYZxyz(31.8951, 17.4126, 56.3134)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B939C8 #48C839
analogous
#7139C8 #B939C8 #C83990
triadic
#B939C8 #C8B939 #39C8B9
tetradic
#B939C8 #C87139 #48C839 #3990C8
square
#B939C8 #C87139 #48C839 #3990C8
split-complementary
#B939C8 #90C839 #39C871
monochromatic
#611D69 #8E2B99 #B939C8 #CA69D5 #DB99E3

Accessibility & contrast

On white

4.69
#B939C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B939C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B939C8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B939C8#FFFFFF#000000##FFFFFF
##B939C81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b939c8;
/* rgb */ color: rgb(185, 57, 200);
/* oklch */ color: oklch(58.8% 0.228 323.3);
Tailwind
colors: {
  custom: {
    50: '#d27bd9',
    500: '#b939c8',
    950: '#000000',
  },
}
SCSS
$custom: #b939c8;
$custom-light: #d27bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b939c8",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 293.706,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.2282,
    "h": 323.3
  },
  "luminance": 0.17411
}

Semantic roles & 50–950 ramp

primary
#B939C8
secondary
#95CE8F
accent
#E04858
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B939C8

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

Preview Lab → · Contrast checker → · Palette generator →

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