#B178BB#B178BB

#B178BB is a light, moderate purple. Relative luminance 0.264; OKLCH L 65.5% C 0.116 H 321.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B178BB
RGBrgb(177, 120, 187)
HSLhsl(291, 33%, 60%)
HSVhsv(291, 36%, 73%)
CMYKcmyk(5.3%, 35.8%, 0%, 26.7%)
CIE-LABlab(58.39, 33.67, -26.37)
CIE-LCHlch(58.39, 42.77, 321.93°)
OKLaboklab(65.47% 0.0903 -0.0721)
OKLCHoklch(65.47% 0.116 321.4)
XYZxyz(33.8165, 26.3690, 50.3124)
Luminance0.2637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178BB #82BB78
analogous
#9078BB #B178BB #BB78A3
triadic
#B178BB #BBB178 #78BBB1
tetradic
#B178BB #BB9078 #82BB78 #78A3BB
square
#B178BB #BB9078 #82BB78 #78A3BB
split-complementary
#B178BB #A3BB78 #78BB90
monochromatic
#723E7B #9752A3 #B178BB #C9A1D0 #E0C9E4

Accessibility & contrast

On white

3.35
#B178BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#B178BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178BB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178BB#FFFFFF#000000##000000
##B178BB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BE
Deuteranopia (green-blind)
#7E8FB9
Tritanopia (blue-blind)
#B37F91
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b178bb;
/* rgb */ color: rgb(177, 120, 187);
/* oklch */ color: oklch(65.5% 0.116 321.4);
Tailwind
colors: {
  custom: {
    50: '#c9a0cf',
    500: '#b178bb',
    950: '#000000',
  },
}
SCSS
$custom: #b178bb;
$custom-light: #c9a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b178bb",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 291.045,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65474,
    "c": 0.11556,
    "h": 321.4
  },
  "luminance": 0.26368
}

Semantic roles & 50–950 ramp

primary
#B178BB
secondary
#BED4BB
accent
#AC3A4B
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #B178BB

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

Preview Lab → · Contrast checker → · Palette generator →

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