#B277C1#B277C1

#B277C1 is a light, vivid purple. Relative luminance 0.265; OKLCH L 65.7% C 0.125 H 319.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B277C1
RGBrgb(178, 119, 193)
HSLhsl(288, 37%, 61%)
HSVhsv(288, 38%, 76%)
CMYKcmyk(7.8%, 38.3%, 0%, 24.3%)
CIE-LABlab(58.52, 35.75, -29.57)
CIE-LCHlch(58.52, 46.40, 320.40°)
OKLaboklab(65.68% 0.0944 -0.0812)
OKLCHoklch(65.68% 0.125 319.3)
XYZxyz(34.5813, 26.5099, 53.7370)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277C1 #86C177
analogous
#8D77C1 #B277C1 #C177AB
triadic
#B277C1 #C1B277 #77C1B2
tetradic
#B277C1 #C18D77 #86C177 #77ABC1
square
#B277C1 #C18D77 #86C177 #77ABC1
split-complementary
#B277C1 #ABC177 #77C18D
monochromatic
#743B82 #994FAC #B277C1 #CAA1D4 #E2CBE7

Accessibility & contrast

On white

3.33
#B277C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B277C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277C1
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277C1#FFFFFF#000000##000000
##B277C11.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D89C4
Deuteranopia (green-blind)
#7C8FBF
Tritanopia (blue-blind)
#B38093
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b277c1;
/* rgb */ color: rgb(178, 119, 193);
/* oklch */ color: oklch(65.7% 0.125 319.3);
Tailwind
colors: {
  custom: {
    50: '#ca9fd4',
    500: '#b277c1',
    950: '#000000',
  },
}
SCSS
$custom: #b277c1;
$custom-light: #ca9fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b277c1",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 193
  },
  "hsl": {
    "h": 287.838,
    "s": 37.374,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6568,
    "c": 0.12452,
    "h": 319.3
  },
  "luminance": 0.26509
}

Semantic roles & 50–950 ramp

primary
#B277C1
secondary
#C2D8BC
accent
#B0354E
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #B277C1

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

Preview Lab → · Contrast checker → · Palette generator →

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