#B277C8#B277C8

#B277C8 is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.0% C 0.132 H 316.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B277C8
RGBrgb(178, 119, 200)
HSLhsl(284, 42%, 63%)
HSVhsv(284, 41%, 78%)
CMYKcmyk(11%, 40.5%, 0%, 21.6%)
CIE-LABlab(58.82, 37.19, -33.08)
CIE-LCHlch(58.82, 49.78, 318.35°)
OKLaboklab(66% 0.0959 -0.0912)
OKLCHoklch(66% 0.132 316.5)
XYZxyz(35.3807, 26.8297, 57.9472)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B277C8 #8DC877
analogous
#8A77C8 #B277C8 #C877B5
triadic
#B277C8 #C8B277 #77C8B2
tetradic
#B277C8 #C88A77 #8DC877 #77B5C8
square
#B277C8 #C88A77 #8DC877 #77B5C8
split-complementary
#B277C8 #B5C877 #77C88A
monochromatic
#75398C #994BB6 #B277C8 #CBA3DA #E3CEEB

Accessibility & contrast

On white

3.30
#B277C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B277C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B277C8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B277C8#FFFFFF#000000##000000
##B277C81.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACB
Deuteranopia (green-blind)
#798FC6
Tritanopia (blue-blind)
#B18296
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b277c8;
/* rgb */ color: rgb(178, 119, 200);
/* oklch */ color: oklch(66.0% 0.132 316.5);
Tailwind
colors: {
  custom: {
    50: '#ca9fd9',
    500: '#b277c8',
    950: '#000000',
  },
}
SCSS
$custom: #b277c8;
$custom-light: #ca9fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b277c8",
  "rgb": {
    "r": 178,
    "g": 119,
    "b": 200
  },
  "hsl": {
    "h": 283.704,
    "s": 42.408,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66003,
    "c": 0.13237,
    "h": 316.5
  },
  "luminance": 0.26829
}

Semantic roles & 50–950 ramp

primary
#B277C8
secondary
#C7DCBF
accent
#B53054
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130F14
muted
#827E83

Preview Lab

Preview with #B277C8

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

Preview Lab → · Contrast checker → · Palette generator →

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