#B877DF#B877DF

#B877DF is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.8% C 0.161 H 311.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#B877DF
RGBrgb(184, 119, 223)
HSLhsl(278, 62%, 67%)
HSVhsv(278, 47%, 87%)
CMYKcmyk(17.5%, 46.6%, 0%, 12.5%)
CIE-LABlab(60.53, 43.84, -43.30)
CIE-LCHlch(60.53, 61.62, 315.35°)
OKLaboklab(67.77% 0.107 -0.1205)
OKLCHoklch(67.77% 0.161 311.6)
XYZxyz(39.6809, 28.7125, 73.2494)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877DF #9EDF77
analogous
#8477DF #B877DF #DF77D2
triadic
#B877DF #DFB877 #77DFB8
tetradic
#B877DF #DF8477 #9EDF77 #77D2DF
square
#B877DF #DF8477 #9EDF77 #77D2DF
split-complementary
#B877DF #D2DF77 #77DF84
monochromatic
#7F2AB2 #9E45D3 #B877DF #D2A9EB #ECDAF6

Accessibility & contrast

On white

3.11
#B877DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#B877DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877DF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877DF#FFFFFF#000000##000000
##B877DF1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#608FE3
Deuteranopia (green-blind)
#7193DC
Tritanopia (blue-blind)
#B487A1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b877df;
/* rgb */ color: rgb(184, 119, 223);
/* oklch */ color: oklch(67.8% 0.161 311.6);
Tailwind
colors: {
  custom: {
    50: '#cfa0e9',
    500: '#b877df',
    950: '#000000',
  },
}
SCSS
$custom: #b877df;
$custom-light: #cfa0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b877df",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 277.5,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67775,
    "c": 0.16119,
    "h": 311.6
  },
  "luminance": 0.28712
}

Semantic roles & 50–950 ramp

primary
#B877DF
secondary
#D5E9C8
accent
#CA1C5D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B877DF

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

Preview Lab → · Contrast checker → · Palette generator →

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