#B877FD#B877FD

#B877FD is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.4% C 0.196 H 304.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#B877FD
RGBrgb(184, 119, 253)
HSLhsl(269, 97%, 73%)
HSVhsv(269, 53%, 99%)
CMYKcmyk(27.3%, 53%, 0%, 0.8%)
CIE-LABlab(62.06, 50.57, -57.50)
CIE-LCHlch(62.06, 76.58, 311.33°)
OKLaboklab(69.41% 0.1099 -0.1619)
OKLCHoklch(69.41% 0.196 304.2)
XYZxyz(44.0897, 30.4760, 96.4692)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877FD #BCFD77
analogous
#7779FD #B877FD #FB77FD
triadic
#B877FD #FDB877 #77FDB8
tetradic
#B877FD #FD7779 #BCFD77 #77FDFB
square
#B877FD #FD7779 #BCFD77 #77FDFB
split-complementary
#B877FD #FDFB77 #79FD77
monochromatic
#7904F6 #993BFC #B877FD #D7B3FE #EFE1FF

Accessibility & contrast

On white

2.96
#B877FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#B877FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B877FD
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877FD#FFFFFF#000000##000000
##B877FD1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b877fd;
/* rgb */ color: rgb(184, 119, 253);
/* oklch */ color: oklch(69.4% 0.196 304.2);
Tailwind
colors: {
  custom: {
    50: '#d0a0ff',
    500: '#b877fd',
    950: '#000000',
  },
}
SCSS
$custom: #b877fd;
$custom-light: #d0a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b877fd",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 253
  },
  "hsl": {
    "h": 269.104,
    "s": 97.101,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69414,
    "c": 0.19568,
    "h": 304.2
  },
  "luminance": 0.30476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B877FD

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

Preview Lab → · Contrast checker → · Palette generator →

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