#B277BB#B277BB

#B277BB is a light, moderate purple. Relative luminance 0.262; OKLCH L 65.4% C 0.118 H 322.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B277BB
RGBrgb(178, 119, 187)
HSLhsl(292, 33%, 60%)
HSVhsv(292, 36%, 73%)
CMYKcmyk(4.8%, 36.4%, 0%, 26.7%)
CIE-LABlab(58.27, 34.54, -26.54)
CIE-LCHlch(58.27, 43.56, 322.47°)
OKLaboklab(65.41% 0.093 -0.0725)
OKLCHoklch(65.41% 0.118 322.1)
XYZxyz(33.9255, 26.2476, 50.2833)
Luminance0.2625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277BB #80BB77
analogous
#9077BB #B277BB #BB77A2
triadic
#B277BB #BBB277 #77BBB2
tetradic
#B277BB #BB9077 #80BB77 #77A2BB
square
#B277BB #BB9077 #80BB77 #77A2BB
split-complementary
#B277BB #A2BB77 #77BB90
monochromatic
#723D7A #9852A3 #B277BB #C9A0CF #E0C9E4

Accessibility & contrast

On white

3.36
#B277BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#B277BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277BB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277BB#FFFFFF#000000##000000
##B277BB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BE
Deuteranopia (green-blind)
#7E8EB9
Tritanopia (blue-blind)
#B47E90
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b277bb;
/* rgb */ color: rgb(178, 119, 187);
/* oklch */ color: oklch(65.4% 0.118 322.1);
Tailwind
colors: {
  custom: {
    50: '#ca9fcf',
    500: '#b277bb',
    950: '#000000',
  },
}
SCSS
$custom: #b277bb;
$custom-light: #ca9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b277bb",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 292.059,
    "s": 33.333,
    "l": 60
  },
  "oklch": {
    "l": 0.65413,
    "c": 0.11796,
    "h": 322.1
  },
  "luminance": 0.26246
}

Semantic roles & 50–950 ramp

primary
#B277BB
secondary
#BDD4BA
accent
#C95E6D
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B277BB

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

Preview Lab → · Contrast checker → · Palette generator →

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