#B147BD#B147BD

#B147BD is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.5% C 0.198 H 323.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B147BD
RGBrgb(177, 71, 189)
HSLhsl(294, 47%, 51%)
HSVhsv(294, 62%, 74%)
CMYKcmyk(6.3%, 62.4%, 0%, 25.9%)
CIE-LABlab(48.92, 58.97, -42.33)
CIE-LCHlch(48.92, 72.59, 324.33°)
OKLaboklab(58.49% 0.1589 -0.1176)
OKLCHoklch(58.49% 0.198 323.5)
XYZxyz(29.5692, 17.5293, 49.9603)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147BD #53BD47
analogous
#7647BD #B147BD #BD478E
triadic
#B147BD #BDB147 #47BDB1
tetradic
#B147BD #BD7647 #53BD47 #478EBD
square
#B147BD #BD7647 #53BD47 #478EBD
split-complementary
#B147BD #8EBD47 #47BD76
monochromatic
#5F2465 #893492 #B147BD #C474CD #D7A1DD

Accessibility & contrast

On white

4.66
#B147BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B147BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B147BD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147BD#FFFFFF#000000##FFFFFF
##B147BD1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CC1
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#B4597C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b147bd;
/* rgb */ color: rgb(177, 71, 189);
/* oklch */ color: oklch(58.5% 0.198 323.5);
Tailwind
colors: {
  custom: {
    50: '#cb81d1',
    500: '#b147bd',
    950: '#000000',
  },
}
SCSS
$custom: #b147bd;
$custom-light: #cb81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b147bd",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 293.898,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58487,
    "c": 0.1977,
    "h": 323.5
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#B147BD
secondary
#9BCA96
accent
#D7515F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B147BD

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

Preview Lab → · Contrast checker → · Palette generator →

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