#B147A7#B147A7

#B147A7 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.3% C 0.179 H 331.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B147A7
RGBrgb(177, 71, 167)
HSLhsl(306, 43%, 49%)
HSVhsv(306, 60%, 69%)
CMYKcmyk(0%, 59.9%, 5.6%, 30.6%)
CIE-LABlab(47.81, 55.09, -31.19)
CIE-LCHlch(47.81, 63.31, 330.48°)
OKLaboklab(57.32% 0.1571 -0.0854)
OKLCHoklch(57.32% 0.179 331.5)
XYZxyz(27.3597, 16.6455, 38.3236)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147A7 #47B151
analogous
#8647B1 #B147A7 #B14772
triadic
#B147A7 #A7B147 #47A7B1
tetradic
#B147A7 #B18647 #47B151 #4772B1
square
#B147A7 #B18647 #47B151 #4772B1
split-complementary
#B147A7 #72B147 #47B186
monochromatic
#5A2455 #85357E #B147A7 #C670BD #D79BD1

Accessibility & contrast

On white

4.85
#B147A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B147A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B147A7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147A7#FFFFFF#000000##FFFFFF
##B147A71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4268AA
Deuteranopia (green-blind)
#6477A4
Tritanopia (blue-blind)
#B85070
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b147a7;
/* rgb */ color: rgb(177, 71, 167);
/* oklch */ color: oklch(57.3% 0.179 331.5);
Tailwind
colors: {
  custom: {
    50: '#cb81c1',
    500: '#b147a7',
    950: '#000000',
  },
}
SCSS
$custom: #b147a7;
$custom-light: #cb81c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b147a7",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 305.66,
    "s": 42.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57319,
    "c": 0.17883,
    "h": 331.5
  },
  "luminance": 0.16644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B147A7

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

Preview Lab → · Contrast checker → · Palette generator →

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