#B178C9#B178C9

#B178C9 is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.1% C 0.131 H 315.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B178C9
RGBrgb(177, 120, 201)
HSLhsl(282, 43%, 63%)
HSVhsv(282, 40%, 79%)
CMYKcmyk(11.9%, 40.3%, 0%, 21.2%)
CIE-LABlab(58.97, 36.55, -33.41)
CIE-LCHlch(58.97, 49.52, 317.56°)
OKLaboklab(66.11% 0.0935 -0.0922)
OKLCHoklch(66.11% 0.131 315.4)
XYZxyz(35.3889, 26.9979, 58.5939)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178C9 #90C978
analogous
#8878C9 #B178C9 #C978B8
triadic
#B178C9 #C9B178 #78C9B1
tetradic
#B178C9 #C98878 #90C978 #78B8C9
square
#B178C9 #C98878 #90C978 #78B8C9
split-complementary
#B178C9 #B8C978 #78C988
monochromatic
#75398E #984CB8 #B178C9 #CAA4DA #E4CFEC

Accessibility & contrast

On white

3.28
#B178C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#B178C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178C9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178C9#FFFFFF#000000##000000
##B178C91.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACC
Deuteranopia (green-blind)
#7990C7
Tritanopia (blue-blind)
#B08397
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b178c9;
/* rgb */ color: rgb(177, 120, 201);
/* oklch */ color: oklch(66.1% 0.131 315.4);
Tailwind
colors: {
  custom: {
    50: '#c9a0d9',
    500: '#b178c9',
    950: '#000000',
  },
}
SCSS
$custom: #b178c9;
$custom-light: #c9a0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b178c9",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 201
  },
  "hsl": {
    "h": 282.222,
    "s": 42.857,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6611,
    "c": 0.13128,
    "h": 315.4
  },
  "luminance": 0.26997
}

Semantic roles & 50–950 ramp

primary
#B178C9
secondary
#C8DDC0
accent
#B63057
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130F14
muted
#827E83

Preview Lab

Preview with #B178C9

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

Preview Lab → · Contrast checker → · Palette generator →

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