#B147BA#B147BA

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

Color values

HEX#B147BA
RGBrgb(177, 71, 186)
HSLhsl(295, 45%, 50%)
HSVhsv(295, 62%, 73%)
CMYKcmyk(4.8%, 61.8%, 0%, 27.1%)
CIE-LABlab(48.76, 58.42, -40.84)
CIE-LCHlch(48.76, 71.28, 325.05°)
OKLaboklab(58.32% 0.1588 -0.1132)
OKLCHoklch(58.32% 0.195 324.5)
XYZxyz(29.2469, 17.4004, 48.2630)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147BA #50BA47
analogous
#7747BA #B147BA #BA478A
triadic
#B147BA #BAB147 #47BAB1
tetradic
#B147BA #BA7747 #50BA47 #478ABA
square
#B147BA #BA7747 #50BA47 #478ABA
split-complementary
#B147BA #8ABA47 #47BA77
monochromatic
#5D2562 #87358E #B147BA #C474CB #D7A0DB

Accessibility & contrast

On white

4.69
#B147BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B147BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B147BA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147BA#FFFFFF#000000##FFFFFF
##B147BA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBD
Deuteranopia (green-blind)
#5B78B7
Tritanopia (blue-blind)
#B5587A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b147ba;
/* rgb */ color: rgb(177, 71, 186);
/* oklch */ color: oklch(58.3% 0.195 324.5);
Tailwind
colors: {
  custom: {
    50: '#cb81cf',
    500: '#b147ba',
    950: '#000000',
  },
}
SCSS
$custom: #b147ba;
$custom-light: #cb81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b147ba",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 295.304,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5832,
    "c": 0.19505,
    "h": 324.5
  },
  "luminance": 0.17399
}

Semantic roles & 50–950 ramp

primary
#B147BA
secondary
#99C895
accent
#D5535D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B147BA

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

Preview Lab → · Contrast checker → · Palette generator →

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