#B147BF#B147BF

#B147BF is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.6% C 0.199 H 322.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B147BF
RGBrgb(177, 71, 191)
HSLhsl(293, 48%, 51%)
HSVhsv(293, 63%, 75%)
CMYKcmyk(7.3%, 62.8%, 0%, 25.1%)
CIE-LABlab(49.03, 59.33, -43.32)
CIE-LCHlch(49.03, 73.46, 323.87°)
OKLaboklab(58.6% 0.159 -0.1205)
OKLCHoklch(58.6% 0.199 322.9)
XYZxyz(29.7877, 17.6168, 51.1115)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147BF #55BF47
analogous
#7547BF #B147BF #BF4791
triadic
#B147BF #BFB147 #47BFB1
tetradic
#B147BF #BF7547 #55BF47 #4791BF
square
#B147BF #BF7547 #55BF47 #4791BF
split-complementary
#B147BF #91BF47 #47BF75
monochromatic
#602468 #8A3495 #B147BF #C474CF #D7A2DF

Accessibility & contrast

On white

4.64
#B147BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#B147BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B147BF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147BF#FFFFFF#000000##FFFFFF
##B147BF1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC3
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#B45A7D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b147bf;
/* rgb */ color: rgb(177, 71, 191);
/* oklch */ color: oklch(58.6% 0.199 322.9);
Tailwind
colors: {
  custom: {
    50: '#cb81d3',
    500: '#b147bf',
    950: '#000000',
  },
}
SCSS
$custom: #b147bf;
$custom-light: #cb81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b147bf",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 293,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.586,
    "c": 0.19948,
    "h": 322.9
  },
  "luminance": 0.17615
}

Semantic roles & 50–950 ramp

primary
#B147BF
secondary
#9DCB96
accent
#D85060
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B147BF

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

Preview Lab → · Contrast checker → · Palette generator →

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