#B178CB#B178CB

#B178CB is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.2% C 0.134 H 314.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B178CB
RGBrgb(177, 120, 203)
HSLhsl(281, 44%, 63%)
HSVhsv(281, 41%, 80%)
CMYKcmyk(12.8%, 40.9%, 0%, 20.4%)
CIE-LABlab(59.06, 36.97, -34.41)
CIE-LCHlch(59.06, 50.51, 317.05°)
OKLaboklab(66.2% 0.0939 -0.095)
OKLCHoklch(66.2% 0.134 314.7)
XYZxyz(35.6257, 27.0927, 59.8410)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178CB #92CB78
analogous
#8778CB #B178CB #CB78BB
triadic
#B178CB #CBB178 #78CBB1
tetradic
#B178CB #CB8778 #92CB78 #78BBCB
square
#B178CB #CB8778 #92CB78 #78BBCB
split-complementary
#B178CB #BBCB78 #78CB87
monochromatic
#753891 #974CBA #B178CB #CBA4DC #E4D0ED

Accessibility & contrast

On white

3.27
#B178CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#B178CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178CB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178CB#FFFFFF#000000##000000
##B178CB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCE
Deuteranopia (green-blind)
#7890C9
Tritanopia (blue-blind)
#AF8398
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b178cb;
/* rgb */ color: rgb(177, 120, 203);
/* oklch */ color: oklch(66.2% 0.134 314.7);
Tailwind
colors: {
  custom: {
    50: '#c9a0db',
    500: '#b178cb',
    950: '#000000',
  },
}
SCSS
$custom: #b178cb;
$custom-light: #c9a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#b178cb",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 281.205,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66204,
    "c": 0.13358,
    "h": 314.7
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

primary
#B178CB
secondary
#CADEC1
accent
#B82E59
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B178CB

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

Preview Lab → · Contrast checker → · Palette generator →

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