#B947BF#B947BF

#B947BF is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.7% C 0.204 H 325.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B947BF
RGBrgb(185, 71, 191)
HSLhsl(297, 48%, 51%)
HSVhsv(297, 63%, 75%)
CMYKcmyk(3.1%, 62.8%, 0%, 25.1%)
CIE-LABlab(50.20, 61.28, -41.39)
CIE-LCHlch(50.20, 73.95, 325.96°)
OKLaboklab(59.68% 0.1681 -0.1147)
OKLCHoklch(59.68% 0.204 325.7)
XYZxyz(31.6641, 18.5843, 51.1994)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B947BF #4DBF47
analogous
#7D47BF #B947BF #BF4789
triadic
#B947BF #BFB947 #47BFB9
tetradic
#B947BF #BF7D47 #4DBF47 #4789BF
square
#B947BF #BF7D47 #4DBF47 #4789BF
split-complementary
#B947BF #89BF47 #47BF7D
monochromatic
#642468 #903495 #B947BF #CA74CF #DCA2DF

Accessibility & contrast

On white

4.45
#B947BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B947BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B947BF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B947BF#FFFFFF#000000##000000
##B947BF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#5F7CBC
Tritanopia (blue-blind)
#BD587D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b947bf;
/* rgb */ color: rgb(185, 71, 191);
/* oklch */ color: oklch(59.7% 0.204 325.7);
Tailwind
colors: {
  custom: {
    50: '#d182d3',
    500: '#b947bf',
    950: '#000000',
  },
}
SCSS
$custom: #b947bf;
$custom-light: #d182d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b947bf",
  "rgb": {
    "r": 185,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 297,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.20351,
    "h": 325.7
  },
  "luminance": 0.18582
}

Semantic roles & 50–950 ramp

primary
#B947BF
secondary
#99CB96
accent
#D85057
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B947BF

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

Preview Lab → · Contrast checker → · Palette generator →

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