#B147B9#B147B9

#B147B9 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.194 H 324.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B147B9
RGBrgb(177, 71, 185)
HSLhsl(296, 45%, 50%)
HSVhsv(296, 62%, 73%)
CMYKcmyk(4.3%, 61.6%, 0%, 27.5%)
CIE-LABlab(48.71, 58.24, -40.34)
CIE-LCHlch(48.71, 70.84, 325.29°)
OKLaboklab(58.27% 0.1588 -0.1118)
OKLCHoklch(58.27% 0.194 324.8)
XYZxyz(29.1410, 17.3581, 47.7051)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147B9 #4FB947
analogous
#7847B9 #B147B9 #B94788
triadic
#B147B9 #B9B147 #47B9B1
tetradic
#B147B9 #B97847 #4FB947 #4788B9
square
#B147B9 #B97847 #4FB947 #4788B9
split-complementary
#B147B9 #88B947 #47B978
monochromatic
#5D2561 #87368D #B147B9 #C473CA #D7A0DB

Accessibility & contrast

On white

4.70
#B147B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#B147B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B147B9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147B9#FFFFFF#000000##FFFFFF
##B147B91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346BBC
Deuteranopia (green-blind)
#5B78B6
Tritanopia (blue-blind)
#B5577A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b147b9;
/* rgb */ color: rgb(177, 71, 185);
/* oklch */ color: oklch(58.3% 0.194 324.8);
Tailwind
colors: {
  custom: {
    50: '#cb81ce',
    500: '#b147b9',
    950: '#000000',
  },
}
SCSS
$custom: #b147b9;
$custom-light: #cb81ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b147b9",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 185
  },
  "hsl": {
    "h": 295.789,
    "s": 44.882,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58265,
    "c": 0.19417,
    "h": 324.8
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

primary
#B147B9
secondary
#98C794
accent
#D5535C
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B147B9

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

Preview Lab → · Contrast checker → · Palette generator →

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