#B877CA#B877CA

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

Color values

HEX#B877CA
RGBrgb(184, 119, 202)
HSLhsl(287, 44%, 63%)
HSVhsv(287, 41%, 79%)
CMYKcmyk(8.9%, 41.1%, 0%, 20.8%)
CIE-LABlab(59.57, 39.42, -32.99)
CIE-LCHlch(59.57, 51.41, 320.08°)
OKLaboklab(66.75% 0.1035 -0.0908)
OKLCHoklch(66.75% 0.138 318.7)
XYZxyz(37.0232, 27.6494, 59.2523)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877CA #89CA77
analogous
#8E77CA #B877CA #CA77B2
triadic
#B877CA #CAB877 #77CAB8
tetradic
#B877CA #CA8E77 #89CA77 #77B2CA
square
#B877CA #CA8E77 #89CA77 #77B2CA
split-complementary
#B877CA #B2CA77 #77CA8E
monochromatic
#7C388F #A14BB9 #B877CA #CFA3DB #E6CFEC

Accessibility & contrast

On white

3.22
#B877CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B877CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877CA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877CA#FFFFFF#000000##000000
##B877CA1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCD
Deuteranopia (green-blind)
#7C92C8
Tritanopia (blue-blind)
#B88197
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b877ca;
/* rgb */ color: rgb(184, 119, 202);
/* oklch */ color: oklch(66.7% 0.138 318.7);
Tailwind
colors: {
  custom: {
    50: '#cf9fda',
    500: '#b877ca',
    950: '#000000',
  },
}
SCSS
$custom: #b877ca;
$custom-light: #cf9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#b877ca",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 286.988,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66747,
    "c": 0.13767,
    "h": 318.7
  },
  "luminance": 0.27648
}

Semantic roles & 50–950 ramp

primary
#B877CA
secondary
#C6DDBF
accent
#B72E4C
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140F15
muted
#827E83

Preview Lab

Preview with #B877CA

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

Preview Lab → · Contrast checker → · Palette generator →

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