#B178AA#B178AA

#B178AA is a light, moderate purple. Relative luminance 0.257; OKLCH L 64.8% C 0.098 H 331.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B178AA
RGBrgb(177, 120, 170)
HSLhsl(307, 27%, 58%)
HSVhsv(307, 32%, 69%)
CMYKcmyk(0%, 32.2%, 4%, 30.6%)
CIE-LABlab(57.74, 30.38, -17.63)
CIE-LCHlch(57.74, 35.13, 329.87°)
OKLaboklab(64.77% 0.0857 -0.0475)
OKLCHoklch(64.77% 0.098 331)
XYZxyz(32.1032, 25.6836, 41.2888)
Luminance0.2568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B178AA #78B17F
analogous
#9B78B1 #B178AA #B1788D
triadic
#B178AA #AAB178 #78AAB1
tetradic
#B178AA #B19B78 #78B17F #788DB1
square
#B178AA #B19B78 #78B17F #788DB1
split-complementary
#B178AA #8DB178 #78B19B
monochromatic
#6F4069 #95568E #B178AA #C79FC2 #DEC6DB

Accessibility & contrast

On white

3.42
#B178AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B178AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B178AA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B178AA#FFFFFF#000000##000000
##B178AA1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7686AC
Deuteranopia (green-blind)
#848EA8
Tritanopia (blue-blind)
#B67B8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b178aa;
/* rgb */ color: rgb(177, 120, 170);
/* oklch */ color: oklch(64.8% 0.098 331.0);
Tailwind
colors: {
  custom: {
    50: '#c9a0c3',
    500: '#b178aa',
    950: '#000000',
  },
}
SCSS
$custom: #b178aa;
$custom-light: #c9a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b178aa",
  "rgb": {
    "r": 177,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 307.368,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64767,
    "c": 0.098,
    "h": 331
  },
  "luminance": 0.25682
}

Semantic roles & 50–950 ramp

primary
#B178AA
secondary
#B7CEBA
accent
#C37065
background
#FCF9FC
surface
#F8F2F8
border
#D1CCD1
text
#130E12
muted
#827E81

Preview Lab

Preview with #B178AA

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

Preview Lab → · Contrast checker → · Palette generator →

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