#B877FB#B877FB

#B877FB is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.3% C 0.193 H 304.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B877FB
RGBrgb(184, 119, 251)
HSLhsl(270, 94%, 73%)
HSVhsv(270, 53%, 98%)
CMYKcmyk(26.7%, 52.6%, 0%, 1.6%)
CIE-LABlab(61.95, 50.11, -56.57)
CIE-LCHlch(61.95, 75.58, 311.54°)
OKLaboklab(69.3% 0.1098 -0.1592)
OKLCHoklch(69.3% 0.193 304.6)
XYZxyz(43.7728, 30.3492, 94.8000)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877FB #BAFB77
analogous
#7778FB #B877FB #FA77FB
triadic
#B877FB #FBB877 #77FBB8
tetradic
#B877FB #FB7778 #BAFB77 #77FBFA
square
#B877FB #FB7778 #BAFB77 #77FBFA
split-complementary
#B877FB #FBFA77 #78FB77
monochromatic
#7A07F1 #993CF9 #B877FB #D7B2FD #EFE1FE

Accessibility & contrast

On white

2.97
#B877FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B877FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B877FB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877FB#FFFFFF#000000##000000
##B877FB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B94FF
Deuteranopia (green-blind)
#5F96F8
Tritanopia (blue-blind)
#AC8FAE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b877fb;
/* rgb */ color: rgb(184, 119, 251);
/* oklch */ color: oklch(69.3% 0.193 304.6);
Tailwind
colors: {
  custom: {
    50: '#d0a0fd',
    500: '#b877fb',
    950: '#000000',
  },
}
SCSS
$custom: #b877fb;
$custom-light: #d0a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b877fb",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 269.545,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69299,
    "c": 0.19337,
    "h": 304.6
  },
  "luminance": 0.30349
}

Semantic roles & 50–950 ramp

primary
#B877FB
secondary
#E6F6D5
accent
#E60074
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B877FB

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

Preview Lab → · Contrast checker → · Palette generator →

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