#B147AB#B147AB

#B147AB is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.5% C 0.182 H 329.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B147AB
RGBrgb(177, 71, 171)
HSLhsl(303, 43%, 49%)
HSVhsv(303, 60%, 69%)
CMYKcmyk(0%, 59.9%, 3.4%, 30.6%)
CIE-LABlab(48.00, 55.77, -33.25)
CIE-LCHlch(48.00, 64.93, 329.20°)
OKLaboklab(57.52% 0.1576 -0.0913)
OKLCHoklch(57.52% 0.182 329.9)
XYZxyz(27.7352, 16.7957, 40.3013)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147AB #47B14D
analogous
#8247B1 #B147AB #B14776
triadic
#B147AB #ABB147 #47ABB1
tetradic
#B147AB #B18247 #47B14D #4776B1
square
#B147AB #B18247 #47B14D #4776B1
split-complementary
#B147AB #76B147 #47B182
monochromatic
#5A2457 #853581 #B147AB #C670C1 #D79BD4

Accessibility & contrast

On white

4.82
#B147AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B147AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B147AB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147AB#FFFFFF#000000##FFFFFF
##B147AB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AE
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#B75272
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b147ab;
/* rgb */ color: rgb(177, 71, 171);
/* oklch */ color: oklch(57.5% 0.182 329.9);
Tailwind
colors: {
  custom: {
    50: '#cb81c4',
    500: '#b147ab',
    950: '#000000',
  },
}
SCSS
$custom: #b147ab;
$custom-light: #cb81c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b147ab",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 303.396,
    "s": 42.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.18214,
    "h": 329.9
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#B147AB
secondary
#90C393
accent
#D35C55
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B147AB

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

Preview Lab → · Contrast checker → · Palette generator →

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