#B938BD#B938BD

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

Color values

HEX#B938BD
RGBrgb(185, 56, 189)
HSLhsl(298, 54%, 48%)
HSVhsv(298, 70%, 74%)
CMYKcmyk(2.1%, 70.4%, 0%, 25.9%)
CIE-LABlab(48.03, 66.72, -43.66)
CIE-LCHlch(48.03, 79.73, 326.80°)
OKLaboklab(58.09% 0.1842 -0.1211)
OKLCHoklch(58.09% 0.221 326.7)
XYZxyz(30.6065, 16.8188, 49.7685)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B938BD #3CBD38
analogous
#7638BD #B938BD #BD387F
triadic
#B938BD #BDB938 #38BDB9
tetradic
#B938BD #BD7638 #3CBD38 #387FBD
square
#B938BD #BD7638 #3CBD38 #387FBD
split-complementary
#B938BD #7FBD38 #38BD76
monochromatic
#5D1C5F #8B2A8E #B938BD #CD62D0 #DC91DE

Accessibility & contrast

On white

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

On black

4.36
#B938BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B938BD#FFFFFF#000000##FFFFFF
##B938BD1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C1
Deuteranopia (green-blind)
#5778BA
Tritanopia (blue-blind)
#BE4D77
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b938bd;
/* rgb */ color: rgb(185, 56, 189);
/* oklch */ color: oklch(58.1% 0.221 326.7);
Tailwind
colors: {
  custom: {
    50: '#d27bd1',
    500: '#b938bd',
    950: '#000000',
  },
}
SCSS
$custom: #b938bd;
$custom-light: #d27bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b938bd",
  "rgb": {
    "r": 185,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 298.195,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.2205,
    "h": 326.7
  },
  "luminance": 0.16817
}

Semantic roles & 50–950 ramp

primary
#B938BD
secondary
#89C987
accent
#DE4A4F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #B938BD

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

Preview Lab → · Contrast checker → · Palette generator →

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