#B147BC#B147BC

#B147BC is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.197 H 323.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B147BC
RGBrgb(177, 71, 188)
HSLhsl(294, 47%, 51%)
HSVhsv(294, 62%, 74%)
CMYKcmyk(5.9%, 62.2%, 0%, 26.3%)
CIE-LABlab(48.87, 58.78, -41.83)
CIE-LCHlch(48.87, 72.15, 324.56°)
OKLaboklab(58.43% 0.1589 -0.1161)
OKLCHoklch(58.43% 0.197 323.8)
XYZxyz(29.4610, 17.4861, 49.3906)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147BC #52BC47
analogous
#7647BC #B147BC #BC478C
triadic
#B147BC #BCB147 #47BCB1
tetradic
#B147BC #BC7647 #52BC47 #478CBC
square
#B147BC #BC7647 #52BC47 #478CBC
split-complementary
#B147BC #8CBC47 #47BC76
monochromatic
#5E2464 #883591 #B147BC #C474CC #D7A1DD

Accessibility & contrast

On white

4.67
#B147BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B147BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B147BC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147BC#FFFFFF#000000##FFFFFF
##B147BC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#5A78B9
Tritanopia (blue-blind)
#B4587B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b147bc;
/* rgb */ color: rgb(177, 71, 188);
/* oklch */ color: oklch(58.4% 0.197 323.8);
Tailwind
colors: {
  custom: {
    50: '#cb81d0',
    500: '#b147bc',
    950: '#000000',
  },
}
SCSS
$custom: #b147bc;
$custom-light: #cb81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b147bc",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 294.359,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.19681,
    "h": 323.8
  },
  "luminance": 0.17484
}

Semantic roles & 50–950 ramp

primary
#B147BC
secondary
#9AC995
accent
#D6525E
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B147BC

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

Preview Lab → · Contrast checker → · Palette generator →

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