#B877C8#B877C8

#B877C8 is a light, vivid purple. Relative luminance 0.276; OKLCH L 66.7% C 0.135 H 319.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B877C8
RGBrgb(184, 119, 200)
HSLhsl(288, 42%, 63%)
HSVhsv(288, 41%, 78%)
CMYKcmyk(8%, 40.5%, 0%, 21.6%)
CIE-LABlab(59.48, 39.02, -31.99)
CIE-LCHlch(59.48, 50.46, 320.65°)
OKLaboklab(66.65% 0.1031 -0.0879)
OKLCHoklch(66.65% 0.135 319.5)
XYZxyz(36.7880, 27.5553, 58.0132)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877C8 #87C877
analogous
#8F77C8 #B877C8 #C877B0
triadic
#B877C8 #C8B877 #77C8B8
tetradic
#B877C8 #C88F77 #87C877 #77B0C8
square
#B877C8 #C88F77 #87C877 #77B0C8
split-complementary
#B877C8 #B0C877 #77C88F
monochromatic
#7C398C #A14BB6 #B877C8 #CFA3DA #E5CEEB

Accessibility & contrast

On white

3.23
#B877C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#B877C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877C8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877C8#FFFFFF#000000##000000
##B877C81.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8BCB
Deuteranopia (green-blind)
#7C92C6
Tritanopia (blue-blind)
#B98196
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b877c8;
/* rgb */ color: rgb(184, 119, 200);
/* oklch */ color: oklch(66.7% 0.135 319.5);
Tailwind
colors: {
  custom: {
    50: '#ce9fd9',
    500: '#b877c8',
    950: '#000000',
  },
}
SCSS
$custom: #b877c8;
$custom-light: #ce9fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#b877c8",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 200
  },
  "hsl": {
    "h": 288.148,
    "s": 42.408,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66654,
    "c": 0.13549,
    "h": 319.5
  },
  "luminance": 0.27554
}

Semantic roles & 50–950 ramp

primary
#B877C8
secondary
#C4DCBF
accent
#B5304A
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140F14
muted
#827E83

Preview Lab

Preview with #B877C8

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

Preview Lab → · Contrast checker → · Palette generator →

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