#B147A8#B147A8

#B147A8 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.4% C 0.180 H 331.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B147A8
RGBrgb(177, 71, 168)
HSLhsl(305, 43%, 49%)
HSVhsv(305, 60%, 69%)
CMYKcmyk(0%, 59.9%, 5.1%, 30.6%)
CIE-LABlab(47.86, 55.26, -31.71)
CIE-LCHlch(47.86, 63.71, 330.15°)
OKLaboklab(57.37% 0.1572 -0.0869)
OKLCHoklch(57.37% 0.18 331.1)
XYZxyz(27.4525, 16.6827, 38.8124)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147A8 #47B150
analogous
#8547B1 #B147A8 #B14773
triadic
#B147A8 #A8B147 #47A8B1
tetradic
#B147A8 #B18547 #47B150 #4773B1
square
#B147A8 #B18547 #47B150 #4773B1
split-complementary
#B147A8 #73B147 #47B185
monochromatic
#5A2455 #85357F #B147A8 #C670BE #D79BD2

Accessibility & contrast

On white

4.84
#B147A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B147A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B147A8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147A8#FFFFFF#000000##FFFFFF
##B147A81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4168AB
Deuteranopia (green-blind)
#6477A5
Tritanopia (blue-blind)
#B85171
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b147a8;
/* rgb */ color: rgb(177, 71, 168);
/* oklch */ color: oklch(57.4% 0.180 331.1);
Tailwind
colors: {
  custom: {
    50: '#cb81c2',
    500: '#b147a8',
    950: '#000000',
  },
}
SCSS
$custom: #b147a8;
$custom-light: #cb81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b147a8",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 305.094,
    "s": 42.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.17966,
    "h": 331.1
  },
  "luminance": 0.16681
}

Semantic roles & 50–950 ramp

primary
#B147A8
secondary
#90C395
accent
#D36055
background
#FCF8FB
surface
#F9EFF7
border
#D2CAD0
text
#140B12
muted
#827C81

Preview Lab

Preview with #B147A8

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

Preview Lab → · Contrast checker → · Palette generator →

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