#B178BF#B178BF

#B178BF is a light, moderate purple. Relative luminance 0.265; OKLCH L 65.7% C 0.120 H 319.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B178BF
RGBrgb(177, 120, 191)
HSLhsl(288, 36%, 61%)
HSVhsv(288, 37%, 75%)
CMYKcmyk(7.3%, 37.2%, 0%, 25.1%)
CIE-LABlab(58.55, 34.48, -28.40)
CIE-LCHlch(58.55, 44.67, 320.52°)
OKLaboklab(65.65% 0.0913 -0.0778)
OKLCHoklch(65.65% 0.12 319.6)
XYZxyz(34.2507, 26.5426, 52.5991)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178BF #86BF78
analogous
#8D78BF #B178BF #BF78A9
triadic
#B178BF #BFB178 #78BFB1
tetradic
#B178BF #BF8D78 #86BF78 #78A9BF
square
#B178BF #BF8D78 #86BF78 #78A9BF
split-complementary
#B178BF #A9BF78 #78BF8D
monochromatic
#733D80 #9850A9 #B178BF #C9A2D3 #E1CBE6

Accessibility & contrast

On white

3.33
#B178BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#B178BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178BF
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178BF#FFFFFF#000000##000000
##B178BF1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C2
Deuteranopia (green-blind)
#7D8FBD
Tritanopia (blue-blind)
#B28093
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b178bf;
/* rgb */ color: rgb(177, 120, 191);
/* oklch */ color: oklch(65.7% 0.120 319.6);
Tailwind
colors: {
  custom: {
    50: '#c9a0d2',
    500: '#b178bf',
    950: '#000000',
  },
}
SCSS
$custom: #b178bf;
$custom-light: #c9a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b178bf",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 288.169,
    "s": 35.678,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65651,
    "c": 0.11996,
    "h": 319.6
  },
  "luminance": 0.26542
}

Semantic roles & 50–950 ramp

primary
#B178BF
secondary
#C1D7BC
accent
#AF374F
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #B178BF

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

Preview Lab → · Contrast checker → · Palette generator →

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