#B87BFC#B87BFC

#B87BFC is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.0% C 0.189 H 303.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B87BFC
RGBrgb(184, 123, 252)
HSLhsl(268, 96%, 74%)
HSVhsv(268, 51%, 99%)
CMYKcmyk(27%, 51.2%, 0%, 1.2%)
CIE-LABlab(62.83, 48.22, -55.73)
CIE-LCHlch(62.83, 73.69, 310.87°)
OKLaboklab(69.97% 0.1047 -0.1567)
OKLCHoklch(69.97% 0.189 303.8)
XYZxyz(44.4170, 31.3847, 95.7944)
Luminance0.3139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BFC #BFFC7B
analogous
#7B7EFC #B87BFC #F87BFC
triadic
#B87BFC #FCB87B #7BFCB8
tetradic
#B87BFC #FC7B7E #BFFC7B #7BFCF8
square
#B87BFC #FC7B7E #BFFC7B #7BFCF8
split-complementary
#B87BFC #FCF87B #7EFC7B
monochromatic
#7806F7 #983FFB #B87BFC #D8B7FD #EFE1FE

Accessibility & contrast

On white

2.89
#B87BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B87BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BFC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BFC#FFFFFF#000000##000000
##B87BFC1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#6398F9
Tritanopia (blue-blind)
#AC93B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87bfc;
/* rgb */ color: rgb(184, 123, 252);
/* oklch */ color: oklch(70.0% 0.189 303.8);
Tailwind
colors: {
  custom: {
    50: '#d0a3fe',
    500: '#b87bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b87bfc;
$custom-light: #d0a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bfc",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 268.372,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69965,
    "c": 0.18851,
    "h": 303.8
  },
  "luminance": 0.31385
}

Semantic roles & 50–950 ramp

primary
#B87BFC
secondary
#E6F7D4
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B87BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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