#B877DC#B877DC

#B877DC is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.158 H 312.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#B877DC
RGBrgb(184, 119, 220)
HSLhsl(279, 59%, 66%)
HSVhsv(279, 46%, 86%)
CMYKcmyk(16.4%, 45.9%, 0%, 13.7%)
CIE-LABlab(60.38, 43.19, -41.85)
CIE-LCHlch(60.38, 60.14, 315.90°)
OKLaboklab(67.62% 0.1066 -0.1163)
OKLCHoklch(67.62% 0.158 312.5)
XYZxyz(39.2800, 28.5521, 71.1382)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877DC #9BDC77
analogous
#8677DC #B877DC #DC77CE
triadic
#B877DC #DCB877 #77DCB8
tetradic
#B877DC #DC8677 #9BDC77 #77CEDC
square
#B877DC #DC8677 #9BDC77 #77CEDC
split-complementary
#B877DC #CEDC77 #77DC86
monochromatic
#7F2CAC #9F46CF #B877DC #D1A8E9 #EBD8F5

Accessibility & contrast

On white

3.13
#B877DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#B877DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877DC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877DC#FFFFFF#000000##000000
##B877DC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#7393D9
Tritanopia (blue-blind)
#B5869F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b877dc;
/* rgb */ color: rgb(184, 119, 220);
/* oklch */ color: oklch(67.6% 0.158 312.5);
Tailwind
colors: {
  custom: {
    50: '#cfa0e7',
    500: '#b877dc',
    950: '#000000',
  },
}
SCSS
$custom: #b877dc;
$custom-light: #cfa0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b877dc",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 278.614,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67622,
    "c": 0.15778,
    "h": 312.5
  },
  "luminance": 0.28551
}

Semantic roles & 50–950 ramp

primary
#B877DC
secondary
#D3E8C7
accent
#C71F5B
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B877DC

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

Preview Lab → · Contrast checker → · Palette generator →

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