#B877DA#B877DA

#B877DA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.5% C 0.156 H 313.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#B877DA
RGBrgb(184, 119, 218)
HSLhsl(279, 57%, 66%)
HSVhsv(279, 45%, 85%)
CMYKcmyk(15.6%, 45.4%, 0%, 14.5%)
CIE-LABlab(60.29, 42.76, -40.87)
CIE-LCHlch(60.29, 59.15, 316.29°)
OKLaboklab(67.52% 0.1063 -0.1135)
OKLCHoklch(67.52% 0.156 313.1)
XYZxyz(39.0168, 28.4468, 69.7515)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877DA #99DA77
analogous
#8677DA #B877DA #DA77CA
triadic
#B877DA #DAB877 #77DAB8
tetradic
#B877DA #DA8677 #99DA77 #77CADA
square
#B877DA #DA8677 #99DA77 #77CADA
split-complementary
#B877DA #CADA77 #77DA86
monochromatic
#7F2EA9 #9F47CD #B877DA #D1A7E7 #EAD7F4

Accessibility & contrast

On white

3.14
#B877DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#B877DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877DA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877DA#FFFFFF#000000##000000
##B877DA1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDE
Deuteranopia (green-blind)
#7493D7
Tritanopia (blue-blind)
#B5869E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b877da;
/* rgb */ color: rgb(184, 119, 218);
/* oklch */ color: oklch(67.5% 0.156 313.1);
Tailwind
colors: {
  custom: {
    50: '#cfa0e6',
    500: '#b877da',
    950: '#000000',
  },
}
SCSS
$custom: #b877da;
$custom-light: #cfa0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b877da",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 218
  },
  "hsl": {
    "h": 279.394,
    "s": 57.225,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67521,
    "c": 0.15551,
    "h": 313.1
  },
  "luminance": 0.28446
}

Semantic roles & 50–950 ramp

primary
#B877DA
secondary
#D1E7C6
accent
#C52159
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140F16
muted
#827E84

Preview Lab

Preview with #B877DA

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

Preview Lab → · Contrast checker → · Palette generator →

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