#B178CC#B178CC

#B178CC is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.3% C 0.135 H 314.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B178CC
RGBrgb(177, 120, 204)
HSLhsl(281, 45%, 64%)
HSVhsv(281, 41%, 80%)
CMYKcmyk(13.2%, 41.2%, 0%, 20%)
CIE-LABlab(59.10, 37.18, -34.91)
CIE-LCHlch(59.10, 51.00, 316.81°)
OKLaboklab(66.25% 0.0941 -0.0965)
OKLCHoklch(66.25% 0.135 314.3)
XYZxyz(35.7453, 27.1405, 60.4707)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178CC #93CC78
analogous
#8778CC #B178CC #CC78BD
triadic
#B178CC #CCB178 #78CCB1
tetradic
#B178CC #CC8778 #93CC78 #78BDCC
square
#B178CC #CC8778 #93CC78 #78BDCC
split-complementary
#B178CC #BDCC78 #78CC87
monochromatic
#753792 #974CBB #B178CC #CBA4DD #E4D1EE

Accessibility & contrast

On white

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

On black

6.43
#B178CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178CC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178CC#FFFFFF#000000##000000
##B178CC1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#7790CA
Tritanopia (blue-blind)
#AF8498
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b178cc;
/* rgb */ color: rgb(177, 120, 204);
/* oklch */ color: oklch(66.3% 0.135 314.3);
Tailwind
colors: {
  custom: {
    50: '#c9a0dc',
    500: '#b178cc',
    950: '#000000',
  },
}
SCSS
$custom: #b178cc;
$custom-light: #c9a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b178cc",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 280.714,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66252,
    "c": 0.13474,
    "h": 314.3
  },
  "luminance": 0.2714
}

Semantic roles & 50–950 ramp

primary
#B178CC
secondary
#CBDFC1
accent
#B82D5A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #B178CC

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

Preview Lab → · Contrast checker → · Palette generator →

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