#B877FC#B877FC

#B877FC is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.4% C 0.195 H 304.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B877FC
RGBrgb(184, 119, 252)
HSLhsl(269, 96%, 73%)
HSVhsv(269, 53%, 99%)
CMYKcmyk(27%, 52.8%, 0%, 1.2%)
CIE-LABlab(62.01, 50.34, -57.04)
CIE-LCHlch(62.01, 76.08, 311.43°)
OKLaboklab(69.36% 0.1098 -0.1605)
OKLCHoklch(69.36% 0.195 304.4)
XYZxyz(43.9309, 30.4125, 95.6324)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877FC #BBFC77
analogous
#7779FC #B877FC #FA77FC
triadic
#B877FC #FCB877 #77FCB8
tetradic
#B877FC #FC7779 #BBFC77 #77FCFA
square
#B877FC #FC7779 #BBFC77 #77FCFA
split-complementary
#B877FC #FCFA77 #79FC77
monochromatic
#7A05F3 #993BFB #B877FC #D7B3FD #EFE1FE

Accessibility & contrast

On white

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

On black

7.08
#B877FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B877FC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877FC#FFFFFF#000000##000000
##B877FC1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#5E96F9
Tritanopia (blue-blind)
#AC90AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b877fc;
/* rgb */ color: rgb(184, 119, 252);
/* oklch */ color: oklch(69.4% 0.195 304.4);
Tailwind
colors: {
  custom: {
    50: '#d0a0fe',
    500: '#b877fc',
    950: '#000000',
  },
}
SCSS
$custom: #b877fc;
$custom-light: #d0a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b877fc",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 269.323,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69356,
    "c": 0.19453,
    "h": 304.4
  },
  "luminance": 0.30412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B877FC

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

Preview Lab → · Contrast checker → · Palette generator →

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