#B277BF#B277BF

#B277BF is a light, vivid purple. Relative luminance 0.264; OKLCH L 65.6% C 0.122 H 320.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B277BF
RGBrgb(178, 119, 191)
HSLhsl(289, 36%, 61%)
HSVhsv(289, 38%, 75%)
CMYKcmyk(6.8%, 37.7%, 0%, 25.1%)
CIE-LABlab(58.43, 35.34, -28.56)
CIE-LCHlch(58.43, 45.44, 321.06°)
OKLaboklab(65.59% 0.094 -0.0783)
OKLCHoklch(65.59% 0.122 320.2)
XYZxyz(34.3597, 26.4213, 52.5700)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277BF #84BF77
analogous
#8E77BF #B277BF #BF77A8
triadic
#B277BF #BFB277 #77BFB2
tetradic
#B277BF #BF8E77 #84BF77 #77A8BF
square
#B277BF #BF8E77 #84BF77 #77A8BF
split-complementary
#B277BF #A8BF77 #77BF8E
monochromatic
#733C80 #9950A9 #B277BF #CAA1D3 #E1CAE6

Accessibility & contrast

On white

3.34
#B277BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B277BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277BF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277BF#FFFFFF#000000##000000
##B277BF1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88C2
Deuteranopia (green-blind)
#7D8FBD
Tritanopia (blue-blind)
#B37F92
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b277bf;
/* rgb */ color: rgb(178, 119, 191);
/* oklch */ color: oklch(65.6% 0.122 320.2);
Tailwind
colors: {
  custom: {
    50: '#ca9fd2',
    500: '#b277bf',
    950: '#000000',
  },
}
SCSS
$custom: #b277bf;
$custom-light: #ca9fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b277bf",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 289.167,
    "s": 36,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6559,
    "c": 0.12231,
    "h": 320.2
  },
  "luminance": 0.2642
}

Semantic roles & 50–950 ramp

primary
#B277BF
secondary
#C0D7BB
accent
#AF374C
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B277BF

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

Preview Lab → · Contrast checker → · Palette generator →

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