#B877CB#B877CB

#B877CB is a light, vivid purple. Relative luminance 0.277; OKLCH L 66.8% C 0.139 H 318.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B877CB
RGBrgb(184, 119, 203)
HSLhsl(286, 45%, 63%)
HSVhsv(286, 41%, 80%)
CMYKcmyk(9.4%, 41.4%, 0%, 20.4%)
CIE-LABlab(59.61, 39.63, -33.49)
CIE-LCHlch(59.61, 51.88, 319.80°)
OKLaboklab(66.79% 0.1037 -0.0922)
OKLCHoklch(66.79% 0.139 318.3)
XYZxyz(37.1420, 27.6969, 59.8778)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877CB #8ACB77
analogous
#8E77CB #B877CB #CB77B4
triadic
#B877CB #CBB877 #77CBB8
tetradic
#B877CB #CB8E77 #8ACB77 #77B4CB
square
#B877CB #CB8E77 #8ACB77 #77B4CB
split-complementary
#B877CB #B4CB77 #77CB8E
monochromatic
#7C3790 #A14BBA #B877CB #CFA3DC #E6D0ED

Accessibility & contrast

On white

3.21
#B877CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B877CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877CB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877CB#FFFFFF#000000##000000
##B877CB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#B88297
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b877cb;
/* rgb */ color: rgb(184, 119, 203);
/* oklch */ color: oklch(66.8% 0.139 318.3);
Tailwind
colors: {
  custom: {
    50: '#cf9fdb',
    500: '#b877cb',
    950: '#000000',
  },
}
SCSS
$custom: #b877cb;
$custom-light: #cf9fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b877cb",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 203
  },
  "hsl": {
    "h": 286.429,
    "s": 44.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66794,
    "c": 0.13876,
    "h": 318.3
  },
  "luminance": 0.27696
}

Semantic roles & 50–950 ramp

primary
#B877CB
secondary
#C7DEC0
accent
#B82E4D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #B877CB

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

Preview Lab → · Contrast checker → · Palette generator →

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