#B178C1#B178C1

#B178C1 is a light, vivid purple. Relative luminance 0.266; OKLCH L 65.7% C 0.122 H 318.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B178C1
RGBrgb(177, 120, 193)
HSLhsl(287, 37%, 61%)
HSVhsv(287, 38%, 76%)
CMYKcmyk(8.3%, 37.8%, 0%, 24.3%)
CIE-LABlab(58.63, 34.88, -29.41)
CIE-LCHlch(58.63, 45.63, 319.87°)
OKLaboklab(65.74% 0.0918 -0.0807)
OKLCHoklch(65.74% 0.122 318.7)
XYZxyz(34.4723, 26.6313, 53.7662)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178C1 #88C178
analogous
#8D78C1 #B178C1 #C178AD
triadic
#B178C1 #C1B178 #78C1B1
tetradic
#B178C1 #C18D78 #88C178 #78ADC1
square
#B178C1 #C18D78 #88C178 #78ADC1
split-complementary
#B178C1 #ADC178 #78C18D
monochromatic
#733C83 #984FAD #B178C1 #C9A2D4 #E1CCE8

Accessibility & contrast

On white

3.32
#B178C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#B178C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178C1
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178C1#FFFFFF#000000##000000
##B178C11.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E89C4
Deuteranopia (green-blind)
#7C8FBF
Tritanopia (blue-blind)
#B18194
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b178c1;
/* rgb */ color: rgb(177, 120, 193);
/* oklch */ color: oklch(65.7% 0.122 318.7);
Tailwind
colors: {
  custom: {
    50: '#c9a0d4',
    500: '#b178c1',
    950: '#000000',
  },
}
SCSS
$custom: #b178c1;
$custom-light: #c9a0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b178c1",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 193
  },
  "hsl": {
    "h": 286.849,
    "s": 37.056,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65741,
    "c": 0.1222,
    "h": 318.7
  },
  "luminance": 0.2663
}

Semantic roles & 50–950 ramp

primary
#B178C1
secondary
#C3D8BD
accent
#B03650
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130F14
muted
#827E83

Preview Lab

Preview with #B178C1

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

Preview Lab → · Contrast checker → · Palette generator →

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