#B277BE#B277BE

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

Color values

HEX#B277BE
RGBrgb(178, 119, 190)
HSLhsl(290, 35%, 61%)
HSVhsv(290, 37%, 75%)
CMYKcmyk(6.3%, 37.4%, 0%, 25.5%)
CIE-LABlab(58.39, 35.14, -28.06)
CIE-LCHlch(58.39, 44.97, 321.40°)
OKLaboklab(65.55% 0.0938 -0.0768)
OKLCHoklch(65.55% 0.121 320.7)
XYZxyz(34.2500, 26.3774, 51.9924)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277BE #83BE77
analogous
#8E77BE #B277BE #BE77A6
triadic
#B277BE #BEB277 #77BEB2
tetradic
#B277BE #BE8E77 #83BE77 #77A6BE
square
#B277BE #BE8E77 #83BE77 #77A6BE
split-complementary
#B277BE #A6BE77 #77BE8E
monochromatic
#733C7E #9950A8 #B277BE #C9A0D2 #E1CAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B277BE#FFFFFF#000000##000000
##B277BE1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b277be;
/* rgb */ color: rgb(178, 119, 190);
/* oklch */ color: oklch(65.5% 0.121 320.7);
Tailwind
colors: {
  custom: {
    50: '#ca9fd1',
    500: '#b277be',
    950: '#000000',
  },
}
SCSS
$custom: #b277be;
$custom-light: #ca9fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b277be",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 190
  },
  "hsl": {
    "h": 289.859,
    "s": 35.323,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65545,
    "c": 0.12122,
    "h": 320.7
  },
  "luminance": 0.26376
}

Semantic roles & 50–950 ramp

primary
#B277BE
secondary
#BFD6BB
accent
#AE374B
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B277BE

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

Preview Lab → · Contrast checker → · Palette generator →

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