#B178C8#B178C8

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

Color values

HEX#B178C8
RGBrgb(177, 120, 200)
HSLhsl(283, 42%, 63%)
HSVhsv(283, 40%, 78%)
CMYKcmyk(11.5%, 40%, 0%, 21.6%)
CIE-LABlab(58.93, 36.34, -32.92)
CIE-LCHlch(58.93, 49.03, 317.83°)
OKLaboklab(66.06% 0.0933 -0.0907)
OKLCHoklch(66.06% 0.13 315.8)
XYZxyz(35.2717, 26.9510, 57.9764)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178C8 #8FC878
analogous
#8978C8 #B178C8 #C878B7
triadic
#B178C8 #C8B178 #78C8B1
tetradic
#B178C8 #C88978 #8FC878 #78B7C8
square
#B178C8 #C88978 #8FC878 #78B7C8
split-complementary
#B178C8 #B7C878 #78C889
monochromatic
#74398C #984DB6 #B178C8 #CAA3DA #E3CFEB

Accessibility & contrast

On white

3.29
#B178C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B178C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178C8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178C8#FFFFFF#000000##000000
##B178C81.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b178c8;
/* rgb */ color: rgb(177, 120, 200);
/* oklch */ color: oklch(66.1% 0.130 315.8);
Tailwind
colors: {
  custom: {
    50: '#c9a0d9',
    500: '#b178c8',
    950: '#000000',
  },
}
SCSS
$custom: #b178c8;
$custom-light: #c9a0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b178c8",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 282.75,
    "s": 42.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66063,
    "c": 0.13013,
    "h": 315.8
  },
  "luminance": 0.2695
}

Semantic roles & 50–950 ramp

primary
#B178C8
secondary
#C8DCBF
accent
#B53057
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130F14
muted
#827E83

Preview Lab

Preview with #B178C8

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

Preview Lab → · Contrast checker → · Palette generator →

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