#B178BD#B178BD

#B178BD is a light, moderate purple. Relative luminance 0.265; OKLCH L 65.6% C 0.118 H 320.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B178BD
RGBrgb(177, 120, 189)
HSLhsl(290, 34%, 61%)
HSVhsv(290, 37%, 74%)
CMYKcmyk(6.3%, 36.5%, 0%, 25.9%)
CIE-LABlab(58.47, 34.07, -27.38)
CIE-LCHlch(58.47, 43.71, 321.21°)
OKLaboklab(65.56% 0.0908 -0.0749)
OKLCHoklch(65.56% 0.118 320.5)
XYZxyz(34.0321, 26.4552, 51.4479)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178BD #84BD78
analogous
#8E78BD #B178BD #BD78A6
triadic
#B178BD #BDB178 #78BDB1
tetradic
#B178BD #BD8E78 #84BD78 #78A6BD
square
#B178BD #BD8E78 #84BD78 #78A6BD
split-complementary
#B178BD #A6BD78 #78BD8E
monochromatic
#723D7D #9851A6 #B178BD #C9A1D1 #E0CAE5

Accessibility & contrast

On white

3.34
#B178BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#B178BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178BD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178BD#FFFFFF#000000##000000
##B178BD1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C0
Deuteranopia (green-blind)
#7E8FBB
Tritanopia (blue-blind)
#B28092
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b178bd;
/* rgb */ color: rgb(177, 120, 189);
/* oklch */ color: oklch(65.6% 0.118 320.5);
Tailwind
colors: {
  custom: {
    50: '#c9a0d1',
    500: '#b178bd',
    950: '#000000',
  },
}
SCSS
$custom: #b178bd;
$custom-light: #c9a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b178bd",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 289.565,
    "s": 34.328,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65562,
    "c": 0.11775,
    "h": 320.5
  },
  "luminance": 0.26454
}

Semantic roles & 50–950 ramp

primary
#B178BD
secondary
#C0D6BB
accent
#AD384D
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #B178BD

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

Preview Lab → · Contrast checker → · Palette generator →

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