#B178CD#B178CD

#B178CD is a light, vivid purple. Relative luminance 0.272; OKLCH L 66.3% C 0.136 H 313.9°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B178CD
RGBrgb(177, 120, 205)
HSLhsl(280, 46%, 64%)
HSVhsv(280, 41%, 80%)
CMYKcmyk(13.7%, 41.5%, 0%, 19.6%)
CIE-LABlab(59.15, 37.40, -35.40)
CIE-LCHlch(59.15, 51.50, 316.57°)
OKLaboklab(66.3% 0.0943 -0.0979)
OKLCHoklch(66.3% 0.136 313.9)
XYZxyz(35.8656, 27.1886, 61.1043)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178CD #94CD78
analogous
#8678CD #B178CD #CD78BE
triadic
#B178CD #CDB178 #78CDB1
tetradic
#B178CD #CD8678 #94CD78 #78BECD
square
#B178CD #CD8678 #94CD78 #78BECD
split-complementary
#B178CD #BECD78 #78CD86
monochromatic
#753794 #974BBC #B178CD #CBA5DE #E5D1EE

Accessibility & contrast

On white

3.26
#B178CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#B178CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178CD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178CD#FFFFFF#000000##000000
##B178CD1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD0
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#AF8499
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b178cd;
/* rgb */ color: rgb(177, 120, 205);
/* oklch */ color: oklch(66.3% 0.136 313.9);
Tailwind
colors: {
  custom: {
    50: '#caa0dc',
    500: '#b178cd',
    950: '#000000',
  },
}
SCSS
$custom: #b178cd;
$custom-light: #caa0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b178cd",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 280.235,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.663,
    "c": 0.13589,
    "h": 313.9
  },
  "luminance": 0.27188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B178CD

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

Preview Lab → · Contrast checker → · Palette generator →

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