#B877FE#B877FE

#B877FE is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.5% C 0.197 H 304.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B877FE
RGBrgb(184, 119, 254)
HSLhsl(269, 99%, 73%)
HSVhsv(269, 53%, 100%)
CMYKcmyk(27.6%, 53.1%, 0%, 0.4%)
CIE-LABlab(62.12, 50.81, -57.96)
CIE-LCHlch(62.12, 77.08, 311.24°)
OKLaboklab(69.47% 0.1099 -0.1633)
OKLCHoklch(69.47% 0.197 304)
XYZxyz(44.2495, 30.5399, 97.3103)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877FE #BDFE77
analogous
#7779FE #B877FE #FC77FE
triadic
#B877FE #FEB877 #77FEB8
tetradic
#B877FE #FE7779 #BDFE77 #77FEFC
square
#B877FE #FE7779 #BDFE77 #77FEFC
split-complementary
#B877FE #FEFC77 #79FE77
monochromatic
#7902F9 #983AFE #B877FE #D8B4FE #EFE1FF

Accessibility & contrast

On white

2.95
#B877FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B877FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B877FE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877FE#FFFFFF#000000##000000
##B877FE1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#AC90AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b877fe;
/* rgb */ color: rgb(184, 119, 254);
/* oklch */ color: oklch(69.5% 0.197 304.0);
Tailwind
colors: {
  custom: {
    50: '#d1a0ff',
    500: '#b877fe',
    950: '#000000',
  },
}
SCSS
$custom: #b877fe;
$custom-light: #d1a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b877fe",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 268.889,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69472,
    "c": 0.19683,
    "h": 304
  },
  "luminance": 0.3054
}

Semantic roles & 50–950 ramp

primary
#B877FE
secondary
#E6F7D4
accent
#E60077
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B877FE

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

Preview Lab → · Contrast checker → · Palette generator →

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