#B877DB#B877DB

#B877DB is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.157 H 312.8°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B877DB
RGBrgb(184, 119, 219)
HSLhsl(279, 58%, 66%)
HSVhsv(279, 46%, 86%)
CMYKcmyk(16%, 45.7%, 0%, 14.1%)
CIE-LABlab(60.34, 42.98, -41.36)
CIE-LCHlch(60.34, 59.65, 316.10°)
OKLaboklab(67.57% 0.1065 -0.1149)
OKLCHoklch(67.57% 0.157 312.8)
XYZxyz(39.1480, 28.4993, 70.4427)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877DB #9ADB77
analogous
#8677DB #B877DB #DB77CC
triadic
#B877DB #DBB877 #77DBB8
tetradic
#B877DB #DB8677 #9ADB77 #77CCDB
square
#B877DB #DB8677 #9ADB77 #77CCDB
split-complementary
#B877DB #CCDB77 #77DB86
monochromatic
#7F2DAA #9F47CE #B877DB #D1A7E8 #EBD8F5

Accessibility & contrast

On white

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

On black

6.70
#B877DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877DB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877DB#FFFFFF#000000##000000
##B877DB1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#7493D8
Tritanopia (blue-blind)
#B5869F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b877db;
/* rgb */ color: rgb(184, 119, 219);
/* oklch */ color: oklch(67.6% 0.157 312.8);
Tailwind
colors: {
  custom: {
    50: '#cfa0e6',
    500: '#b877db',
    950: '#000000',
  },
}
SCSS
$custom: #b877db;
$custom-light: #cfa0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b877db",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 279,
    "s": 58.14,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67572,
    "c": 0.15665,
    "h": 312.8
  },
  "luminance": 0.28498
}

Semantic roles & 50–950 ramp

primary
#B877DB
secondary
#D2E7C7
accent
#C6205A
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B877DB

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

Preview Lab → · Contrast checker → · Palette generator →

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