#B938BF#B938BF

#B938BF is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.222 H 326.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B938BF
RGBrgb(185, 56, 191)
HSLhsl(297, 55%, 48%)
HSVhsv(297, 71%, 75%)
CMYKcmyk(3.1%, 70.7%, 0%, 25.1%)
CIE-LABlab(48.14, 67.05, -44.65)
CIE-LCHlch(48.14, 80.56, 326.34°)
OKLaboklab(58.2% 0.1842 -0.124)
OKLCHoklch(58.2% 0.222 326.1)
XYZxyz(30.8251, 16.9063, 50.9198)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B938BF #3EBF38
analogous
#7538BF #B938BF #BF3881
triadic
#B938BF #BFB938 #38BFB9
tetradic
#B938BF #BF7538 #3EBF38 #3881BF
square
#B938BF #BF7538 #3EBF38 #3881BF
split-complementary
#B938BF #81BF38 #38BF75
monochromatic
#5D1C60 #8B2A90 #B938BF #CC63D1 #DC92DF

Accessibility & contrast

On white

4.79
#B938BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B938BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B938BF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B938BF#FFFFFF#000000##FFFFFF
##B938BF1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#BE4E78
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b938bf;
/* rgb */ color: rgb(185, 56, 191);
/* oklch */ color: oklch(58.2% 0.222 326.1);
Tailwind
colors: {
  custom: {
    50: '#d27bd3',
    500: '#b938bf',
    950: '#000000',
  },
}
SCSS
$custom: #b938bf;
$custom-light: #d27bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b938bf",
  "rgb": {
    "r": 185,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 297.333,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.22208,
    "h": 326.1
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

primary
#B938BF
secondary
#8CCA89
accent
#DE4A50
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B938BF

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

Preview Lab → · Contrast checker → · Palette generator →

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