#B147B4#B147B4

#B147B4 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 58.0% C 0.190 H 326.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B147B4
RGBrgb(177, 71, 180)
HSLhsl(298, 43%, 49%)
HSVhsv(298, 61%, 71%)
CMYKcmyk(1.7%, 60.6%, 0%, 29.4%)
CIE-LABlab(48.45, 57.34, -37.83)
CIE-LCHlch(48.45, 68.69, 326.59°)
OKLaboklab(57.99% 0.1584 -0.1045)
OKLCHoklch(57.99% 0.19 326.6)
XYZxyz(28.6224, 17.1506, 44.9740)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147B4 #4AB447
analogous
#7B47B4 #B147B4 #B44781
triadic
#B147B4 #B4B147 #47B4B1
tetradic
#B147B4 #B47B47 #4AB447 #4781B4
square
#B147B4 #B47B47 #4AB447 #4781B4
split-complementary
#B147B4 #81B447 #47B47B
monochromatic
#5B245C #863688 #B147B4 #C571C7 #D79DD8

Accessibility & contrast

On white

4.74
#B147B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#B147B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B147B4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147B4#FFFFFF#000000##FFFFFF
##B147B41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#B65577
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b147b4;
/* rgb */ color: rgb(177, 71, 180);
/* oklch */ color: oklch(58.0% 0.190 326.6);
Tailwind
colors: {
  custom: {
    50: '#cb81cb',
    500: '#b147b4',
    950: '#000000',
  },
}
SCSS
$custom: #b147b4;
$custom-light: #cb81cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b147b4",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 298.349,
    "s": 43.426,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57993,
    "c": 0.18981,
    "h": 326.6
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#B147B4
secondary
#93C592
accent
#D35558
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B147B4

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

Preview Lab → · Contrast checker → · Palette generator →

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