#B178B0#B178B0

#B178B0 is a light, moderate purple. Relative luminance 0.259; OKLCH L 65.0% C 0.104 H 327.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B178B0
RGBrgb(177, 120, 176)
HSLhsl(301, 27%, 58%)
HSVhsv(301, 32%, 69%)
CMYKcmyk(0%, 32.2%, 0.6%, 30.6%)
CIE-LABlab(57.96, 31.51, -20.74)
CIE-LCHlch(57.96, 37.73, 326.65°)
OKLaboklab(65.01% 0.0875 -0.0562)
OKLCHoklch(65.01% 0.104 327.3)
XYZxyz(32.6837, 25.9159, 44.3465)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178B0 #78B179
analogous
#9578B1 #B178B0 #B17893
triadic
#B178B0 #B0B178 #78B0B1
tetradic
#B178B0 #B19578 #78B179 #7893B1
square
#B178B0 #B19578 #78B179 #7893B1
split-complementary
#B178B0 #93B178 #78B195
monochromatic
#6F406E #955694 #B178B0 #C79FC7 #DEC6DD

Accessibility & contrast

On white

3.40
#B178B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B178B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178B0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178B0#FFFFFF#000000##000000
##B178B01.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B2
Deuteranopia (green-blind)
#828EAE
Tritanopia (blue-blind)
#B57D8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b178b0;
/* rgb */ color: rgb(177, 120, 176);
/* oklch */ color: oklch(65.0% 0.104 327.3);
Tailwind
colors: {
  custom: {
    50: '#c9a0c7',
    500: '#b178b0',
    950: '#000000',
  },
}
SCSS
$custom: #b178b0;
$custom-light: #c9a0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b178b0",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 176
  },
  "hsl": {
    "h": 301.053,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65009,
    "c": 0.10394,
    "h": 327.3
  },
  "luminance": 0.25915
}

Semantic roles & 50–950 ramp

primary
#B178B0
secondary
#B7CEB7
accent
#C36665
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130F13
muted
#827E82

Preview Lab

Preview with #B178B0

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

Preview Lab → · Contrast checker → · Palette generator →

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