#B877CC#B877CC

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

Color values

HEX#B877CC
RGBrgb(184, 119, 204)
HSLhsl(286, 45%, 63%)
HSVhsv(286, 42%, 80%)
CMYKcmyk(9.8%, 41.7%, 0%, 20%)
CIE-LABlab(59.66, 39.83, -33.99)
CIE-LCHlch(59.66, 52.36, 319.53°)
OKLaboklab(66.84% 0.1039 -0.0937)
OKLCHoklch(66.84% 0.14 318)
XYZxyz(37.2616, 27.7447, 60.5075)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877CC #8BCC77
analogous
#8D77CC #B877CC #CC77B6
triadic
#B877CC #CCB877 #77CCB8
tetradic
#B877CC #CC8D77 #8BCC77 #77B6CC
square
#B877CC #CC8D77 #8BCC77 #77B6CC
split-complementary
#B877CC #B6CC77 #77CC8D
monochromatic
#7C3792 #A14ABB #B877CC #CFA4DD #E6D0ED

Accessibility & contrast

On white

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

On black

6.55
#B877CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877CC
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877CC#FFFFFF#000000##000000
##B877CC1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b877cc;
/* rgb */ color: rgb(184, 119, 204);
/* oklch */ color: oklch(66.8% 0.140 318.0);
Tailwind
colors: {
  custom: {
    50: '#cf9fdc',
    500: '#b877cc',
    950: '#000000',
  },
}
SCSS
$custom: #b877cc;
$custom-light: #cf9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b877cc",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 204
  },
  "hsl": {
    "h": 285.882,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6684,
    "c": 0.13985,
    "h": 318
  },
  "luminance": 0.27744
}

Semantic roles & 50–950 ramp

primary
#B877CC
secondary
#C7DFC0
accent
#B92D4E
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #B877CC

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

Preview Lab → · Contrast checker → · Palette generator →

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