#B277BC#B277BC

#B277BC is a light, moderate purple. Relative luminance 0.263; OKLCH L 65.5% C 0.119 H 321.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B277BC
RGBrgb(178, 119, 188)
HSLhsl(291, 34%, 60%)
HSVhsv(291, 37%, 74%)
CMYKcmyk(5.3%, 36.7%, 0%, 26.3%)
CIE-LABlab(58.31, 34.74, -27.04)
CIE-LCHlch(58.31, 44.03, 322.10°)
OKLaboklab(65.46% 0.0933 -0.074)
OKLCHoklch(65.46% 0.119 321.6)
XYZxyz(34.0330, 26.2906, 50.8490)
Luminance0.2629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277BC #81BC77
analogous
#8F77BC #B277BC #BC77A4
triadic
#B277BC #BCB277 #77BCB2
tetradic
#B277BC #BC8F77 #81BC77 #77A4BC
square
#B277BC #BC8F77 #81BC77 #77A4BC
split-complementary
#B277BC #A4BC77 #77BC8F
monochromatic
#733D7C #9951A5 #B277BC #C9A0D0 #E0C9E4

Accessibility & contrast

On white

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

On black

6.26
#B277BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277BC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277BC#FFFFFF#000000##000000
##B277BC1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BF
Deuteranopia (green-blind)
#7E8FBA
Tritanopia (blue-blind)
#B47F91
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b277bc;
/* rgb */ color: rgb(178, 119, 188);
/* oklch */ color: oklch(65.5% 0.119 321.6);
Tailwind
colors: {
  custom: {
    50: '#ca9fd0',
    500: '#b277bc',
    950: '#000000',
  },
}
SCSS
$custom: #b277bc;
$custom-light: #ca9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b277bc",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 188
  },
  "hsl": {
    "h": 291.304,
    "s": 33.99,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65457,
    "c": 0.11904,
    "h": 321.6
  },
  "luminance": 0.26289
}

Semantic roles & 50–950 ramp

primary
#B277BC
secondary
#BED5BA
accent
#AD394A
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B277BC

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

Preview Lab → · Contrast checker → · Palette generator →

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