#B178BC#B178BC

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

Color values

HEX#B178BC
RGBrgb(177, 120, 188)
HSLhsl(290, 34%, 60%)
HSVhsv(290, 36%, 74%)
CMYKcmyk(5.9%, 36.2%, 0%, 26.3%)
CIE-LABlab(58.43, 33.87, -26.88)
CIE-LCHlch(58.43, 43.24, 321.57°)
OKLaboklab(65.52% 0.0906 -0.0735)
OKLCHoklch(65.52% 0.117 320.9)
XYZxyz(33.9239, 26.4119, 50.8782)
Luminance0.2641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178BC #83BC78
analogous
#8F78BC #B178BC #BC78A5
triadic
#B178BC #BCB178 #78BCB1
tetradic
#B178BC #BC8F78 #83BC78 #78A5BC
square
#B178BC #BC8F78 #83BC78 #78A5BC
split-complementary
#B178BC #A5BC78 #78BC8F
monochromatic
#723E7C #9852A5 #B178BC #C9A1D0 #E0CAE5

Accessibility & contrast

On white

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

On black

6.28
#B178BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178BC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178BC#FFFFFF#000000##000000
##B178BC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BF
Deuteranopia (green-blind)
#7E8FBA
Tritanopia (blue-blind)
#B28091
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b178bc;
/* rgb */ color: rgb(177, 120, 188);
/* oklch */ color: oklch(65.5% 0.117 320.9);
Tailwind
colors: {
  custom: {
    50: '#c9a0d0',
    500: '#b178bc',
    950: '#000000',
  },
}
SCSS
$custom: #b178bc;
$custom-light: #c9a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b178bc",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 290.294,
    "s": 33.663,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65518,
    "c": 0.11666,
    "h": 320.9
  },
  "luminance": 0.26411
}

Semantic roles & 50–950 ramp

primary
#B178BC
secondary
#BFD5BB
accent
#AC394C
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130F14
muted
#827E82

Preview Lab

Preview with #B178BC

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

Preview Lab → · Contrast checker → · Palette generator →

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