#B277BD#B277BD

#B277BD is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.5% C 0.120 H 321.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B277BD
RGBrgb(178, 119, 189)
HSLhsl(291, 35%, 60%)
HSVhsv(291, 37%, 74%)
CMYKcmyk(5.8%, 37%, 0%, 25.9%)
CIE-LABlab(58.35, 34.94, -27.55)
CIE-LCHlch(58.35, 44.50, 321.74°)
OKLaboklab(65.5% 0.0935 -0.0754)
OKLCHoklch(65.5% 0.12 321.1)
XYZxyz(34.1411, 26.3338, 51.4187)
Luminance0.2633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277BD #82BD77
analogous
#8F77BD #B277BD #BD77A5
triadic
#B277BD #BDB277 #77BDB2
tetradic
#B277BD #BD8F77 #82BD77 #77A5BD
square
#B277BD #BD8F77 #82BD77 #77A5BD
split-complementary
#B277BD #A5BD77 #77BD8F
monochromatic
#733D7D #9951A6 #B277BD #C9A0D1 #E1C9E5

Accessibility & contrast

On white

3.35
#B277BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#B277BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277BD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277BD#FFFFFF#000000##000000
##B277BD1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b277bd;
/* rgb */ color: rgb(178, 119, 189);
/* oklch */ color: oklch(65.5% 0.120 321.1);
Tailwind
colors: {
  custom: {
    50: '#ca9fd1',
    500: '#b277bd',
    950: '#000000',
  },
}
SCSS
$custom: #b277bd;
$custom-light: #ca9fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b277bd",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 189
  },
  "hsl": {
    "h": 290.571,
    "s": 34.653,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65501,
    "c": 0.12012,
    "h": 321.1
  },
  "luminance": 0.26333
}

Semantic roles & 50–950 ramp

primary
#B277BD
secondary
#BFD5BB
accent
#AD384A
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B277BD

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

Preview Lab → · Contrast checker → · Palette generator →

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