#B877DD#B877DD

#B877DD is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.159 H 312.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B877DD
RGBrgb(184, 119, 221)
HSLhsl(278, 60%, 67%)
HSVhsv(278, 46%, 87%)
CMYKcmyk(16.7%, 46.2%, 0%, 13.3%)
CIE-LABlab(60.43, 43.41, -42.33)
CIE-LCHlch(60.43, 60.63, 315.72°)
OKLaboklab(67.67% 0.1067 -0.1177)
OKLCHoklch(67.67% 0.159 312.2)
XYZxyz(39.4129, 28.6053, 71.8377)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877DD #9CDD77
analogous
#8577DD #B877DD #DD77CF
triadic
#B877DD #DDB877 #77DDB8
tetradic
#B877DD #DD8577 #9CDD77 #77CFDD
square
#B877DD #DD8577 #9CDD77 #77CFDD
split-complementary
#B877DD #CFDD77 #77DD85
monochromatic
#7F2CAE #9E46D1 #B877DD #D2A8E9 #EBD9F5

Accessibility & contrast

On white

3.12
#B877DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B877DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877DD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877DD#FFFFFF#000000##000000
##B877DD1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE1
Deuteranopia (green-blind)
#7393DA
Tritanopia (blue-blind)
#B487A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b877dd;
/* rgb */ color: rgb(184, 119, 221);
/* oklch */ color: oklch(67.7% 0.159 312.2);
Tailwind
colors: {
  custom: {
    50: '#cfa0e8',
    500: '#b877dd',
    950: '#000000',
  },
}
SCSS
$custom: #b877dd;
$custom-light: #cfa0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b877dd",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 221
  },
  "hsl": {
    "h": 278.235,
    "s": 60,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67673,
    "c": 0.15891,
    "h": 312.2
  },
  "luminance": 0.28604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B877DD

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

Preview Lab → · Contrast checker → · Palette generator →

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