#B939D2#B939D2

#B939D2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.4% C 0.236 H 320.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B939D2
RGBrgb(185, 57, 210)
HSLhsl(290, 63%, 52%)
HSVhsv(290, 73%, 82%)
CMYKcmyk(11.9%, 72.9%, 0%, 17.6%)
CIE-LABlab(49.37, 70.02, -53.66)
CIE-LCHlch(49.37, 88.22, 322.54°)
OKLaboklab(59.43% 0.1824 -0.1503)
OKLCHoklch(59.43% 0.236 320.5)
XYZxyz(33.1022, 17.8954, 62.6708)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B939D2 #52D239
analogous
#6C39D2 #B939D2 #D2399F
triadic
#B939D2 #D2B939 #39D2B9
tetradic
#B939D2 #D26C39 #52D239 #399FD2
square
#B939D2 #D26C39 #52D239 #399FD2
split-complementary
#B939D2 #9FD239 #39D26C
monochromatic
#671B76 #9326A8 #B939D2 #CB6BDD #DC9DE9

Accessibility & contrast

On white

4.59
#B939D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B939D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B939D2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B939D2#FFFFFF#000000##FFFFFF
##B939D21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#497ACE
Tritanopia (blue-blind)
#BA5783
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b939d2;
/* rgb */ color: rgb(185, 57, 210);
/* oklch */ color: oklch(59.4% 0.236 320.5);
Tailwind
colors: {
  custom: {
    50: '#d27ce0',
    500: '#b939d2',
    950: '#000000',
  },
}
SCSS
$custom: #b939d2;
$custom-light: #d27ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#b939d2",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 290.196,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59434,
    "c": 0.23639,
    "h": 320.5
  },
  "luminance": 0.17894
}

Semantic roles & 50–950 ramp

primary
#B939D2
secondary
#9DD592
accent
#E6425D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B939D2

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

Preview Lab → · Contrast checker → · Palette generator →

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