#B277BA#B277BA

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

Color values

HEX#B277BA
RGBrgb(178, 119, 186)
HSLhsl(293, 33%, 60%)
HSVhsv(293, 36%, 73%)
CMYKcmyk(4.3%, 36%, 0%, 27.1%)
CIE-LABlab(58.23, 34.34, -26.03)
CIE-LCHlch(58.23, 43.09, 322.84°)
OKLaboklab(65.37% 0.0928 -0.0711)
OKLCHoklch(65.37% 0.117 322.5)
XYZxyz(33.8189, 26.2049, 49.7215)
Luminance0.2620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277BA #7FBA77
analogous
#9177BA #B277BA #BA77A1
triadic
#B277BA #BAB277 #77BAB2
tetradic
#B277BA #BA9177 #7FBA77 #77A1BA
square
#B277BA #BA9177 #7FBA77 #77A1BA
split-complementary
#B277BA #A1BA77 #77BA91
monochromatic
#723D79 #9852A2 #B277BA #C9A0CF #E0C8E3

Accessibility & contrast

On white

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

On black

6.24
#B277BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277BA
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277BA#FFFFFF#000000##000000
##B277BA1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BD
Deuteranopia (green-blind)
#7E8EB8
Tritanopia (blue-blind)
#B47E90
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b277ba;
/* rgb */ color: rgb(178, 119, 186);
/* oklch */ color: oklch(65.4% 0.117 322.5);
Tailwind
colors: {
  custom: {
    50: '#ca9fcf',
    500: '#b277ba',
    950: '#000000',
  },
}
SCSS
$custom: #b277ba;
$custom-light: #ca9fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b277ba",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 292.836,
    "s": 32.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65369,
    "c": 0.11689,
    "h": 322.5
  },
  "luminance": 0.26204
}

Semantic roles & 50–950 ramp

primary
#B277BA
secondary
#BDD3B9
accent
#C95F6C
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E13
muted
#827E82

Preview Lab

Preview with #B277BA

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

Preview Lab → · Contrast checker → · Palette generator →

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